Closed cnk113 closed 3 years ago
@cnk113 I'm happy to look into this PR, but I'm curious
The sorted bam file was a bug I seem to be getting for some reason, and looking at the snakefile it seems the bams are already sorted (through pysam.sort) so it ended up working and shouldn't lead to any problems. This was the output of one of the temp_bam (after pysam.sort) files which throws this issue.
Exception in thread "main" picard.PicardException: This program requires input that are either coordinate or query sorted (according to the header, or at least ASSUME_SORT_ORDER and the content.)
Found ASSUME_SORT_ORDER=null and header sortorder=unsorted
at picard.sam.markduplicates.MarkDuplicates.doWork(MarkDuplicates.java:294)
at picard.cmdline.CommandLineProgram.instanceMain(CommandLineProgram.java:295)
at picard.cmdline.PicardCommandLine.instanceMain(PicardCommandLine.java:103)
at picard.cmdline.PicardCommandLine.main(PicardCommandLine.java:113)
As for the del error when I try to follow your walkthrough I get an error for using a reserved keyword in the import statement. This is all in python3.7
I've implemented this in v0.6.3
that will appear on PyPi tomorrow morning-- thanks for the suggestion
This should be safe to assume?