Dear all,
Until now, I used BWA with default settings. For a new project, I would like to perform a "confident mapping", that is to keep pairs/reads with high probability of correct alignment if the cost is to loose a moderate amount of data.
Here I use BWA mem version 0.7.12 on paired-ends 75 bp reads. These reads have been trimmed wih Trimmomatic (SLIDINGWINDOW:6:25 LEADING:25 TRAILING:25 AVGQUAL:25 MINLEN:40 + adapters trimming).
I think 4 parameters could help to focuse on confident mapped reads.
If you have some experience or advice for me, I would be very happy to hear it!
Thank you in advance,
Jane
Until now, I used BWA with default settings. For a new project, I would like to perform a "confident mapping", that is to keep pairs/reads with high probability of correct alignment if the cost is to loose a moderate amount of data.
Here I use BWA mem version 0.7.12 on paired-ends 75 bp reads. These reads have been trimmed wih Trimmomatic (SLIDINGWINDOW:6:25 LEADING:25 TRAILING:25 AVGQUAL:25 MINLEN:40 + adapters trimming).
I think 4 parameters could help to focuse on confident mapped reads.
- -A: Matching score.
I wonder if this parameter allows to select reads with mapping >=20.
I read that read with mapping quality (field 5 in SAM format) are the reads with multiple locations. In a sample that I tested, 1.9% of my reads have field 5 in SAM format=0.
Does this -A parameter act on the field 5 or is it doing something different? - -c
Since I want to keep reads with a unique best mapping, should I reduce the number of occurrence of a MEM? Could it help? - -L: clipping penalty
I don't want to keep read with 10/20 bases aligning somewhere else in the genome. Is there a way to filter those reads?
Despite reading some discussions on Biostars, I am still not very confortable with the notions of soft and hard clipping... - -U: penalty for unpaired read pair
Since I won't look for structural variations in this project, I don't want to keep pairs of reads with very abnormal edit distance. I am not sure if the -U parameter could do something for that.
If you have some experience or advice for me, I would be very happy to hear it!
Thank you in advance,
Jane
Comment