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
Hi,
with Dorado 0.9.1+c8c2c9f for a bacterial genome I ran: dorado polish --bacteria aligned_reads.sorted.bam flye/assembly.fasta > polished_assembly_corrected.fasta
which leads to [error] Caught exception: The input BAM contains more than one read group. Please specify --RG to select which read group to process.
When I run: dorado polish --bacteria aligned_reads.sorted.bam flye/assembly.fasta --RG test > corrected_polished.fasta
I get [error] Caught exception: No @RG headers found in the input BAM, but user-specified RG was given. RG: 'test'
Immediately after I wrote the issue I tried to use the ID field of the RG header which worked, at least for the simplex data. dorado polish --bacteria aligned_reads.sorted.bam flye/assembly.fasta --RG 3d5a29885777c9915e9d68ac567fa92062b91a43_dna_r10.4.1_e8.2_400bps_sup@v5.0.0 > polished_simplex.fasta
However, duplex with --bacteria throws [error] Caught exception: There are no bacterial models compatible with basecaller model: '[email protected][email protected]'.
and without --bacteria
Also, when polishing simplex data from duplex calls it throws: [info] Input data does not contain move tables.
dorado duplex doesn't support --emit-moves.
BTW, in the documentation it is written that we can check the mv tag using samtools. However, in mmy case with samtools 1.21 samtools view --keep-tag "mv" -c aligned_reads.sorted.bam
and samtools view -c aligned_reads.sorted.bam
outputs the same value. But samtools view -d "mv" -c aligned_reads.sorted.bam
outputs 0
This might be modified in the documentation.
So this is actually solved, just the documentation/error messages might be improved?
Is duplex > correct > assembly > polish --RG [simplex ID] the correct way to do it?
Hi,
with Dorado 0.9.1+c8c2c9f for a bacterial genome I ran:
dorado polish --bacteria aligned_reads.sorted.bam flye/assembly.fasta > polished_assembly_corrected.fasta
which leads to
[error] Caught exception: The input BAM contains more than one read group. Please specify --RG to select which read group to process.
When I run:
dorado polish --bacteria aligned_reads.sorted.bam flye/assembly.fasta --RG test > corrected_polished.fasta
I get
[error] Caught exception: No @RG headers found in the input BAM, but user-specified RG was given. RG: 'test'
However,
samtools view -H duplex.bam
How should I treat polish with duplex calling?
Thanks
Michal
The text was updated successfully, but these errors were encountered: