Skip to content

Bpipe Error: No signature of method: java.lang.StringBuilder.setLength() is applicable for argument types: (java.lang.Integer) values: [0] #2

@yossawat-suw

Description

@yossawat-suw

Hello everybody,
I try to use Methpanel for the first time and I try to follow step in the readme.md and also detail in https://github.com/thinhong/MethPanel/wiki but still have no luck with launching the software. The steps i did and output is as below:

I organize file directory like:
-clock (name of my project)
--config
---sample.clock.pre.config
---system.clock.pre.config
---amplicons.tsv
--raw
---sample1
---A1_R2.fastq.gz
---A1_R1.fastq.gz

in "sample.clock.pre.config" file is a code like this:

[ clock ]
	[[ sample1 ]]

in "system.clock.pre.config" file is a code like this

// Paramenters for indexing the amplicon sequences
// Project
project="clock"
// where to place the project
projectp="/home/point/Documents/work/research/pmayp/Project/fibroblast_clock/point/methpanel/point"
// the coordinates in the tsv file in which reference genome version
build_name="hg38"
// Name of the panel
panel_name="amplicons"
// the length of extension in both direction to amplicon sequences
add=200
// The path to amplicon sequecence coordinate in hg18/hg19/hg38
inAmp="/home/point/Documents/work/research/pmayp/Project/fibroblast_clock/point/methpanel/point/clock/config/amplicons.tsv"
// where to place the index of amplicons sequences
REF="home/point/Documents/work/research/pmayp/Project/fibroblast_clock/point/methpanel/point/clock/ref"

//////////////////////////////////////////////////
// Paramenters for alignment, DNA methylation and pattern calling
// Single or paired End
isSingleEnd="1"
// Remove unconverted CpG
REMOVE_UNCONVERTED="1"
// remove read if the read has at least 3 unconverted C
NUMBER_C="3"
// filter mapped reads
BASE_QUALITY="30"
READ_LENGTH="20"
// remove CpG with least then coverage
COVERAGE="100"
// Temp directory for Picardtools
TMP_DIR="/home/point/Documents/work/research/pmayp/Project/fibroblast_clock/point/methpanel/point/clock/working_temp"

then I run in the bash shell like this

python3 /path/to/MethPanel/pipe/run_Bpipe.py /path/to/sample.clock.pre.config /path/to/system.clock.pre.config

and i got output like this

Sample config file is at  /home/point/Documents/work/research/pmayp/Project/fibroblast_clock/point/methpanel/point/clock/config/sample.clock.pre.config
System config file is at  /home/point/Documents/work/research/pmayp/Project/fibroblast_clock/point/methpanel/point/clock/config/system.clock.pre.config
The BASEDIR is at  /home/point/Applications/MethPanel

=================================================== SAMPLE INFORMATION ====================================================
+++++ Sample is sample1
================================================ END OF SAMPLE INFORMATION =================================================


======================================================= MethPanel Pipeline ===================================================

cd /home/point/Documents/work/research/pmayp/Project/fibroblast_clock/point/methpanel/point/clock; grep open /proc/self/limits; ulimit -n 4096; grep open /proc/self/limits; bpipe run -p SYSTEM_CONFIG=/home/point/Documents/work/research/pmayp/Project/fibroblast_clock/point/methpanel/point/clock/config/system.clock.pre.config.post /home/point/Applications/MethPanel/pipe/main.MethPanel.bpipe  raw/*/*_R*.fastq.gz

Max open files            1024                 1048576              files     
Max open files            4096                 4096                 files     
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
====================================================================================================
|                              Starting Pipeline at 2023-05-09 16:23                               |
====================================================================================================
=========================================== Bpipe Error ============================================

An error occurred executing your pipeline:

No signature of method: java.lang.StringBuilder.setLength() is applicable for argument types: (java.lang.Integer) values: [0]


Please see the details below for more information.

========================================== Error Details ===========================================

groovy.lang.MissingMethodException: No signature of method: java.lang.StringBuilder.setLength() is applicable for argument types: (java.lang.Integer) values: [0]
	at bpipe.OutputLog.flush(OutputLog.groovy:101)
	at bpipe.OutputLog$flush$1.callCurrent(Unknown Source)
	at bpipe.OutputLog.flush(OutputLog.groovy:116)
	at bpipe.OutputLog$flush$0.call(Unknown Source)
	at bpipe.Pipeline.printStartMessage(Pipeline.groovy:1019)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at bpipe.Pipeline.initializeRunLogs(Pipeline.groovy:1005)
	at bpipe.Pipeline$initializeRunLogs$0.callCurrent(Unknown Source)
	at bpipe.Pipeline.execute(Pipeline.groovy:733)
	at bpipe.Pipeline.execute(Pipeline.groovy)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at bpipe.Pipeline.run(Pipeline.groovy:569)
	at bpipe.Pipeline$run.callStatic(Unknown Source)
	at bpipe.Pipeline.run(Pipeline.groovy:512)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at main.MethPanel.bpipe.run(main.MethPanel.bpipe:15)
	at main.MethPanel.bpipe$run.call(Unknown Source)
	at bpipe.Runner.main(Runner.groovy:472)
	at bpipe.Runner9.main(Runner9.java:47)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


====================================================================================================

More details about why this error occurred may be available in the full log file .bpipe/bpipe.log

I try to do research the way to fix this by myself but I found none. I also have no basic in Java and groovy. Any help, please?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions