SamToFastq should provide an informative error when RG info is missing
See original GitHub issueAs reported in the GATK forum
When running SamToFastq with OUTPUT_PER_RG=T on a bam file without read group information, you get the following error:
Exception in thread "main" java.lang.NullPointerException
at net.sf.picard.sam.SamToFastq.doWork(SamToFastq.java:148)
at net.sf.picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:177)
at net.sf.picard.sam.SamToFastq.main(SamToFastq.java:119)
This should be handled to return a more informative error message to the user.
I would guess this should be handled around line 166 of https://github.com/broadinstitute/picard/blob/master/src/java/picard/sam/SamToFastq.java
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Picard SamToFastq error - Biostars
it's an I/O error. check you have the right to write in the current directory. check you have the right to write a...
Read more >Thread: [Samtools-help] Picard release 1.19 - SourceForge
Picard Release 1.22 8 June 2010 - In MetricsFile, fix bug in which comparator for Histogram was being lost when merging histogram keysets...
Read more >How to Map and clean up short read sequence data efficiently
To make the information more digestible, we will first talk about each tool separately. At the end of the section, we provide the...
Read more >Picard - GitHub Pages
This page provides detailed documentation on the Picard command-line syntax ... a hash code based on identifying information in the read groups (RG)...
Read more >ValiidateSamFile Error: Mate not found - GATK
After running this pipeline, I was getting errors about mates not getting found ... INFO 2021-06-16 16:39:06 SamFileValidator Validated Read ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, done. Picard doesn’t have nightlies but the source code is public so they can build from source themselves.
Should someone let the user know? I am not sure where this fix is/if Picard has nightlies like GATK?