Closed yuntianf closed 1 year ago
hi,
could you check the new Sicelore-2.1jar file doesn't give this error anymore. you need to re-clone the github to test on your system.
kevin
Hi Kevin,
Thanks for your quick response, I re-cloned the github and re-tested it with above BarcodesAssigned.tsv
, it still gave me the same error, but kind different output:
INFO 2022-11-22 13:56:43 SelectValidCellBarcode
********** NOTE: Picard's command line syntax is changing.
**********
********** For more information, please see:
********** https://github.com/broadinstitute/picard/wiki/Command-Line-Syntax-Transition-For-Users-(Pre-Transition)
**********
********** The command line looks like this in the new syntax:
**********
********** SelectValidCellBarcode -I BarcodesAssigned.tsv -O barcodes.csv -MINUMI 1 -ED0ED1RATIO 1
**********
[Tue Nov 22 13:56:44 EST 2022] SelectValidCellBarcode INPUT=BarcodesAssigned.tsv OUTPUT=barcodes.csv MINUMI=1 ED0ED1RATIO=1.0 VERBOSITY=INFO QUIET=false VALIDATION_STRINGENCY=STRICT COMPRESSION_LEVEL=5 MAX_RECORDS_IN_RAM=500000 CREATE_INDEX=false CREATE_MD5_FILE=false GA4GH_CLIENT_SECRETS=client_secrets.json USE_JDK_DEFLATER=false USE_JDK_INFLATER=false
[Tue Nov 22 13:56:44 EST 2022] Executing on Linux 3.10.0-1160.62.1.el7.x86_64 amd64; Java HotSpot(TM) 64-Bit Server VM 19.0.1+10-21; Deflater: Intel; Inflater: Intel; Provider GCS is not available; Picard version: null
INFO 2022-11-22 13:56:44 SelectValidCellBarcode CCCAGTTTCCTTGCCA barcode removed [CCCAGTTTCCTTGCCA 8 3 5]
INFO 2022-11-22 13:56:44 SelectValidCellBarcode AGGTCCGAGCTGATAA barcode removed [AGGTCCGAGCTGATAA 6 2 4]
INFO 2022-11-22 13:56:44 SelectValidCellBarcode TCTGAGAAGGAGTACC barcode removed [TCTGAGAAGGAGTACC 3 1 2]
java.lang.NumberFormatException: For input string: ""
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)
at java.base/java.lang.Integer.parseInt(Integer.java:675)
at java.base/java.lang.Integer.<init>(Integer.java:1120)
at org.ipmc.sicelore.programs.SelectValidCellBarcode.doWork(SelectValidCellBarcode.java:67)
at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:303)
at picard.cmdline.PicardCommandLine.instanceMain(PicardCommandLine.java:103)
at org.ipmc.sicelore.cmdline.SiCeLoReMain.main(SiCeLoReMain.java:31)
INFO 2022-11-22 13:56:44 SelectValidCellBarcode Total cell barcodes [266]
INFO 2022-11-22 13:56:44 SelectValidCellBarcode Valid cell barcodes [263]
[Tue Nov 22 13:56:44 EST 2022] org.ipmc.sicelore.programs.SelectValidCellBarcode done. Elapsed time: 0.00 minutes.
hi, the better would be that i have access to the BarcodesAssigned.tsv file. I've changed the code, hope this time it will works, give it a try and if not, please copy/paste your file.
best,
Hi Kevin, Thanks, this time it works.
INFO 2022-11-23 09:57:25 SelectValidCellBarcode
********** NOTE: Picard's command line syntax is changing.
**********
********** For more information, please see:
********** https://github.com/broadinstitute/picard/wiki/Command-Line-Syntax-Transition-For-Users-(Pre-Transition)
**********
********** The command line looks like this in the new syntax:
**********
********** SelectValidCellBarcode -I BarcodesAssigned.tsv -O barcodes.csv -MINUMI 1 -ED0ED1RATIO 1
**********
[Wed Nov 23 09:57:26 EST 2022] SelectValidCellBarcode INPUT=BarcodesAssigned.tsv OUTPUT=barcodes.csv MINUMI=1 ED0ED1RATIO=1.0 VERBOSITY=INFO QUIET=false VALIDATION_STRINGENCY=STRICT COMPRESSION_LEVEL=5 MAX_RECORDS_IN_RAM=500000 CREATE_INDEX=false CREATE_MD5_FILE=false GA4GH_CLIENT_SECRETS=client_secrets.json USE_JDK_DEFLATER=false USE_JDK_INFLATER=false
[Wed Nov 23 09:57:26 EST 2022] Executing on Linux 3.10.0-1160.62.1.el7.x86_64 amd64; Java HotSpot(TM) 64-Bit Server VM 19.0.1+10-21; Deflater: Intel; Inflater: Intel; Provider GCS is not available; Picard version: null
INFO 2022-11-23 09:57:26 SelectValidCellBarcode CCCAGTTTCCTTGCCA barcode removed [CCCAGTTTCCTTGCCA 8 3 5]
INFO 2022-11-23 09:57:26 SelectValidCellBarcode AGGTCCGAGCTGATAA barcode removed [AGGTCCGAGCTGATAA 6 2 4]
INFO 2022-11-23 09:57:26 SelectValidCellBarcode TCTGAGAAGGAGTACC barcode removed [TCTGAGAAGGAGTACC 3 1 2]
INFO 2022-11-23 09:57:26 SelectValidCellBarcode Total cell barcodes [272]
INFO 2022-11-23 09:57:26 SelectValidCellBarcode Valid cell barcodes [269]
[Wed Nov 23 09:57:26 EST 2022] org.ipmc.sicelore.programs.SelectValidCellBarcode done. Elapsed time: 0.00 minutes.
Runtime.totalMemory()=81133568
Hi, I appreciate your effort for such great pipeline, but I met a
java.lang.NumberFormatException
inSelectValidCellBarcode
when I tried this pipeline on a Nanopore long reads sequencing dataset based on 10X 5' toolkit. Below is the error information:Here I also attach a part of the input file
BarcodesAssigned.tsv
to help debug:I appreciate it if you have any thoughts to fix this problem! Thanks!