Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question in “Map the data to the reference genome” step #5

Open
L1angyan opened this issue Mar 23, 2022 · 1 comment
Open

question in “Map the data to the reference genome” step #5

L1angyan opened this issue Mar 23, 2022 · 1 comment

Comments

@L1angyan
Copy link

Hi Zijie,

I notice that when you mapping reads to the ref genome, you use the parameter: -k 1

hisat2 -x $INDEX --known-splicesite-infile $SPLICE -k 1 --no-unal --summary-file $s.IN.align_summary -p 4 -U $Data/$s.IN.noMyco.fastq.gz |samtools view -bS |samtools sort -o $Output/$s.input.bam

hisat2 -x $INDEX --known-splicesite-infile $SPLICE -k 1  --no-unal --summary-file $s.m6A.align_summary -p 4 -U $Data/$s.m6A.noMyco.fastq.gz | samtools view -bS |samtools sort -o $Output/$s.m6A.bam

However, it could lead to reads mapping to a inappropriate region, because it match k=1.
image

looking foward your reply
Liangyan

@L1angyan
Copy link
Author

If you use -k 1, a read maybe map to a not so appropriate position but meet the criteria of finding 1 alignment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant