Hi
I have tried to map this short sequence
>sample_1_x12179
TCCTGTACTGAGCTGCCCCGA
which exists on chr8 twice, using various aligners.
BLAT, BLAST, and Bowtie2 found it. BWA MEM and SOAP2 did not. How come? BWA MEM finds it if I include some extra flanking bases. Is it because the sequence is too short?
BWA MEM command:
bwa mem -t 8 $bwaIndex tmp.fasta
SOAP command:
./soap2.20 \
-a tmp.fasta \
-o ${goutputfile}.tmp \
-D /mnt/NGS01/ReferenceDB/mirTools/db/genome/hsa.fa.index \
-M 0 -r 2 -v 5 -p 8 -l 15
I also tried -M 4
(find best hits), but still no results. If I remove the last two bases from the above sequence, then SOAP2 finds a hit on chr11 that requires 2 mismatches.
Thank you.
You're not using the
bwa mem
command in your example. And it wouldn't work anyway becausebwa mem
expects a 70bp minimum query sequence length for aligning. Does runningbwa aln
without themem
like you've shown work okay?Sorry, I did use 'bwa mem', just accidentally posted the wrong command. I'll try 'bwa aln' too. Thank you for your answer.
Can you post your SOAP command as well?
I've edited my post and added the SOAP2 command.