Closed Anniestasy closed 4 years ago
Thanks for the report and sorry about the issue and confusion. If you'd like to reanalyze from an existing BAM, the right thing to do is set an aligner:
files: your_original.bam
algorithm:
aligner: bwa
``
`bcbio will extract the reads from the original BAM and feed into alignment and downstream steps. `realign` is different functionality (adjusting reads after initial alignment), hence the confusing error message. Hope this helps get your data processed.
I've set an aligner and tried and got: ValueError: Failed to check paired status of BAM file. Is it possible to solve somehow?
And thank you for the fast response.
Thanks for testing and sorry about the continued issues. Would you be able to paste the full error traceback you're seeing. Specifically, the error you reported should have additional information after it detailing why it failed that might help diagnose what is going on. bcbio is trying to call a couple of samtools commands to check if the file has paired reads so it knows how to extract into fastq:
Thanks for the help debugging.
multiprocessing: prep_align_inputs
Traceback (most recent call last):
File "/media/hdc/opt/install/dir/bin/bcbio_nextgen.py", line 242, in
LDC 1.11.0 / DMD v2.081.2 / LLVM6.0.1 / bootstrap LDC - the LLVM D compiler (0.17.6git-0156298) LDC 1.11.0 / DMD v2.081.2 / LLVM6.0.1 / bootstrap LDC - the LLVM D compiler (0.17.6git-0156298)
Thanks much for following up with all the details. This is an issue with the latest sambamba, which exports a status line that confuses bcbio. This has been fixed in the latest development version, which we're planning to roll into a stable release in the next couple of days. If you run:
bcbio_nextgen.py upgrade -u development
and then re-run your analysis, it should hopefully proceed on to alignment. Apologies about the issues and hope this gets you going.
This should be fixed, just the issue wasn't closed. Thank you!
There was an error: "Input files reference and reads have incompatible contigs: Found contigs with the same name but different lengths: contig reference = MT / 16569 contig reads = MT / 16571." As I understood one of the obvious solutions is to realign bam files. But when I include realignment in .yaml file with script, there was another error: "In sample normal, realign specified but it is not supported for GATK4. Realignment is generally not necessary for most variant callers." Because bcbio uses GATK4 in which realignment option removed. Could you please suggest any solutions for this situation?