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
Thanks for writing minimap2. I have come to rely on it a lot for mapping nanopore direct RNA data. I was interested in trying some kind of two-pass alignment as mentioned in #348 so have been experimenting with the --junc-bed and --junc-bonus options. As far as I can tell, however, it seems like the --junc-bonus option is ignored. If the splice preset is used, --junc-bonus seems to get set as a positive number (according to the manual it is set to 9). Varying the --junc-bonus option does not seem to change the number (if spliced preset is used but --junc-bonus is set to zero the junctions in the bed file still seem to get used, whereas I would have expected the result to be the same as if no bed file was supplied). Furthermore if no presets are used the junction bonus seems to be set as zero regardless of whether --junc-bonus option is specified or not.
For example:
no splice preset, junc-bonus=0
# apart from the junc-bed related settings, these settings should be identical to -x splice preset
minimap2 -a -t12 -k15 -w5 --splice \
-g2000 -G200k -A1 -B2 -O2,32 -E1,0 \
-C9 -z200 -ub --splice-flank=yes \
--cs=short --junc-bonus=0 --junc-bed juncs.bed \
ref.fa test.fastq > aln_bonus_0.sam
paftools.js junceval annot.gtf aln_bonus_0.sam
# unmapped reads: 668070
# mapped reads: 979414
# primary alignments: 984638
# singletons: 246055
# predicted introns: 2896215
# non-overlapping introns: 4851
# correct introns: 2742705 (94.70%)
Thanks for writing
minimap2
. I have come to rely on it a lot for mapping nanopore direct RNA data. I was interested in trying some kind of two-pass alignment as mentioned in #348 so have been experimenting with the--junc-bed
and--junc-bonus
options. As far as I can tell, however, it seems like the--junc-bonus
option is ignored. If the splice preset is used,--junc-bonus
seems to get set as a positive number (according to the manual it is set to 9). Varying the--junc-bonus
option does not seem to change the number (if spliced preset is used but--junc-bonus
is set to zero the junctions in the bed file still seem to get used, whereas I would have expected the result to be the same as if no bed file was supplied). Furthermore if no presets are used the junction bonus seems to be set as zero regardless of whether--junc-bonus
option is specified or not.For example:
no splice preset, junc-bonus=0
no splice preset, junc-bonus=9
splice preset, junc-bonus=0
splice preset, junc-bonus=9
I'm using minimap version 2.17-r941 from bioconda.
I've also attached a markdown file with some more examples that I tried:
junc_bed_test.txt
Thanks
Matt
The text was updated successfully, but these errors were encountered: