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

switch to BWA (for <=4bp mismatches) #1

Open
mbsimonovic opened this issue Aug 31, 2018 · 0 comments
Open

switch to BWA (for <=4bp mismatches) #1

mbsimonovic opened this issue Aug 31, 2018 · 0 comments

Comments

@mbsimonovic
Copy link
Member

# cat reads.fa
> TTTATTTCCACACTTCATGG, has a 3bp mismatch read on the same chromosome (- strand): TTTATTTCCACATATGATGG/TTTATTTCCACA**T*ATGG chr10:25378199-25378221
TTTATTTCCACACTTCATGG

wget -O chr10.fa.gz ftp://ftp.ensembl.org/pub/release-85/fasta/danio_rerio/dna/Danio_rerio.GRCz10.dna.chromosome.10.fa.gz
$ ./bwa

Program: bwa (alignment via Burrows-Wheeler transformation)
Version: 0.7.17-r1188
..
$ ./bwa index chr10.fa.gz
$ ./bwa aln -o 0 -n 4 -k 4 -N -l 20 chr10.fa.gz reads.txt > reads.sai
$ ./bwa samse -n 100000 chr10.fa.gz reads.sai reads.txt
                               ^^^^^^^ need to figure out this number so only 1-4bp mismatches are found
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