Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qprofiler - Fastq mode can't convert String to Integer #248

Open
holmeso opened this issue Feb 25, 2021 · 1 comment
Open

qprofiler - Fastq mode can't convert String to Integer #248

holmeso opened this issue Feb 25, 2021 · 1 comment

Comments

@holmeso
Copy link
Contributor

holmeso commented Feb 25, 2021

Describe the bug
Qprofiler Fastq mode is complaining about trying to convert a String to an Integer:

16:39:32.674 [pool-2-thread-6] SEVERE org.qcmg.qprofiler.fastq.FastqSummaryReport - Can't convert string to integer: H2TVWBBXY
java.lang.NumberFormatException: For input string: "H2TVWBBXY"

see following log files for more info:

/working/genomeinfo/data/20210128_BarbourOeso/ForQIMR_Jan2021/Deduped-MelR101_1.fastq.gz.qp.xml.log
/working/genomeinfo/data/20210128_BarbourOeso/ForQIMR_Jan2021/Deduped-MelR101_se.fastq.gz.qp.xml.log
/working/genomeinfo/data/20210128_BarbourOeso/ForQIMR_Jan2021/Deduped-MelR101_2.fastq.gz.qp.xml.log

To Reproduce
Steps to reproduce the behavior:

  1. Run qprofiler against the fastqs listed above
  2. See error

Expected behavior
qp fastq mode should be able to handle the case where a String contains text rather than numerals. At the very least, a more detailed error message should be displayed.

@ChristinaXu2017
Copy link
Contributor

read id "@K00171:1:1:1029:H2TVWBBXY:4:2106:18954:16753:GAGATGAG" can't be recognized by qprofiler but it should be able to accept by qprofiler2. There is the detailed error message on the log file:

Error caught parsing FastqRecord with readHeader: K00171:5:2:1029:H2TVWBBXY:4:2205:11403:43726:GAGATGAG
...
record: @K00171:1:1:1029:H2TVWBBXY:4:1211:9008:43831:GAGATGAG
CTGCGCTTGCCTTCGCTGACGTGCCCACAGCTGGAATGGCAGAAACTGGGCCTGCTGACATCAGACAGCCCCGACTCCTTACTTTTACTGGTTACT
+
FJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants