Open bernt-matthias opened 1 year ago
I'll have a look at it.
Interesting. I just checked the test outputs from #4861 and it says 2022-10-28 08:35:54,994 WARNI [galaxy.tool_util.verify] Converting local (test-data) BAM to SAM failed: 'samtools returned with error 1: stdout=None, stderr=[main_samview] fail to read the header from "/tmp/tmp296s667aphased_bam_1.bam".\n'. Will compare BAM files
, but succeeds then.
Haha, so the phased_bam_1.bam test data is an empty file :)
@gallardoalba you'd have to make sure that the phased bam contains at least a header. Perhaps you can copy over the one from the input file if and only if the file is empty?
Perfect, thanks @wm75!
So it turns out that clair3 doesn't produce a phased_bam
output but rather phased_vcf
. This is addressed in https://github.com/galaxyproject/tools-iuc/pull/6195
In tests 2 and 3 the file
phased_bam.bam
is not created and Galaxy stumbles over metadata generationWas wondering if
--enable_phasing
needs to be enabled and--no_phasing_for_fa
disabled (but a first experiment was negative).Also log complains about chromosome/sequence names which seem to be demo20 for bam and chr1 in bed.
Any chance that you could have a look @gallardoalba @mira-miracoli @pvanheus @wm75