You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ignore the SO: in the input files and sort them according to coordinates when merging the files.
Actual behavior
Throws error:
Exception in thread "main" java.lang.IllegalArgumentException: No enum constant htsjdk.samtools.SAMFileHeader.SortOrder.UNKNOWN
at java.lang.Enum.valueOf(Enum.java:238)
at htsjdk.samtools.SAMFileHeader$SortOrder.valueOf(SAMFileHeader.java:66)
at htsjdk.samtools.SAMFileHeader.getSortOrder(SAMFileHeader.java:255)
at picard.sam.MergeSamFiles.doWork(MergeSamFiles.java:161)
at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:205)
at picard.cmdline.PicardCommandLine.instanceMain(PicardCommandLine.java:94)
at picard.cmdline.PicardCommandLine.main(PicardCommandLine.java:104)
Of course, there is a solution of just rewriting the BAM-header but as this is quite timeconsuming for large BAM-files, i wondered if there is an option to ignore the SO value of input files when merging.
Thank you,
Michel
The text was updated successfully, but these errors were encountered:
Bug Report
Affected tool(s)
MergeSamFiles
Affected version(s)
picard2.9.0.jar
Description
IAim is to merge bam files from BLASR alignment which carry the header:
@hd VN:1.5 SO:UNKNOWN pb:3.0.1
right now, this produces the error:
Steps to reproduce
Expected behavior
Ignore the SO: in the input files and sort them according to coordinates when merging the files.
Actual behavior
Throws error:
Of course, there is a solution of just rewriting the BAM-header but as this is quite timeconsuming for large BAM-files, i wondered if there is an option to ignore the SO value of input files when merging.
Thank you,
Michel
The text was updated successfully, but these errors were encountered: