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
samtools mpileup -aa -A -d 600000 -B -Q 0 pairs.bam| ivar variants -p test -q 0 -t 0 -r ../nCoV-2019.reference.fasta.txt -m 0
The output of test.csv
REGION POS REF ALT REF_DP REF_RV REF_QUAL ALT_DP ALT_RV ALT_QUAL ALT_FREQ TOTAL_DP PVAL PASS GFF_FEATURE REF_CODON REF_AA ALT_CODON ALT_AA
MN908947.3 22376 C A 1 0 31 1 1 0 0.5 2 1 FALSE NA NA NA NA NA
With Total Depth of 2
If I change the samtools mpileup option -Q 1 , to skip bases with baseQ/BAQ smaller than ,I don't get any output
REGION POS REF ALT REF_DP REF_RV REF_QUAL ALT_DP ALT_RV ALT_QUAL ALT_FREQ TOTAL_DP PVAL PASS GFF_FEATURE REF_CODON REF_AA ALT_CODON ALT_AA
Should I be changing the per-Base Alignment Quality to >0 for mpileup?
There is a thread here on the issue, which suggests setting -Q0 also disables overlap read detection.
The overlap detection is a hack on top of the original code. It lowers base qualities of overlapping bases so that they are effectively removed from variant calling. This implies that the overlapping bases are counted twice in raw depth calculation, but are counted correctly when counting only high-quality bases.
Any help with how I should process this would be greatly appreciated.
Software Versions
iVar version 1.3.1
samtools 1.12
Using htslib 1.12
Thanks,
Graeme
The text was updated successfully, but these errors were encountered:
When you have overlapping paired-end reads, e.g. paired-reads covering short amplicons how does ivar treat the overlapping base
e.g. for this pairs file with one read having a mismatch at position 22376
#pairs.bam content
If I run
The output of test.csv
With Total Depth of 2
If I change the samtools mpileup option -Q 1 , to skip bases with baseQ/BAQ smaller than ,I don't get any output
Should I be changing the per-Base Alignment Quality to >0 for mpileup?
There is a thread here on the issue, which suggests setting -Q0 also disables overlap read detection.
samtools/samtools#1036
from this thread someone states
Any help with how I should process this would be greatly appreciated.
Software Versions
Thanks,
Graeme
The text was updated successfully, but these errors were encountered: