I'm trying to make use of bbmapskimmer.
Here is a simple fasta example (read.fasta):
Code:
>1 GAACATGATCCCCTTGTACTA[B]C[/B]TACATTATCACTAGCTTTATGTTTTCTA >2 TAGAAAACATAAAGCTAGTGATAATGTAGTAGTACAAGGGGATCATGTTC >3 GAACATGATCCCCTTGTACTA[B]T[/B]TACATTATCACTAGCTTTATGTTTTCTA
I'm aligning to mm10 genome:
~/Distr/bbmap/bbmapskimmer.sh in=~/tmp/HiC_repeats/input/temp/read.fasta out=test_bbmap1.sam ref=~/tmp/HiC_repeats/fasta/mm10.fa ambiguous=all vslow k=8 minid=0.6 maxsites2=8000 maxsites=8000 local
Here is test_bbmap1.sam:
Code:
@HD VN:1.4 SO:unsorted @SQ SN:chr10 LN:130694993 .... @SQ SN:chrM LN:16299 @SQ SN:chrX LN:171031299 @SQ SN:chrY LN:91744698 @PG ID:BBMap PN:BBMap VN:37.02 CL:java -Djava.library.path=/mnt/storage/home/vsfishman/Distr/bbmap/jni/ -ea -Xmx98546m align2.BBMapPacBioSkimmer build=1 overwrite=true minratio=0.40 fastareadlen=6000 ambig=all minscaf=100 startpad=10000 stoppad=10000 midpad=6000 in=/mnt/storage/home/vsfishman/tmp/HiC_repeats/input/temp/read.fasta out=test_bbmap1.sam ref=/mnt/storage/home/vsfishman/tmp/HiC_repeats/fasta/mm10.fa ambiguous=all vslow k=8 minid=0.6 maxsites2=8000 maxsites=8000 local 1 0 chr16 39205299 43 50= * 0 0 GAACATGATCCCCTTGTACTACTACATTATCACTAGCTTTATGTTTTCTA * NM:i:0 AM:i:43 NH:i:2 1 272 chr10 38707112 39 28=1X21= * 0 0 * * NM:i:1 AM:i:39 NH:i:2 2 16 chr16 39205299 43 50= * 0 0 GAACATGATCCCCTTGTACTACTACATTATCACTAGCTTTATGTTTTCTA * NM:i:0 AM:i:43 NH:i:2 2 256 chr10 38707112 39 28=1X21= * 0 0 * * NM:i:1 AM:i:39 NH:i:2 3 16 chr10 38707112 3 50= * 0 0 TAGAAAACATAAAGCTAGTGATAATGTAATAGTACAAGGGGATCATGTTC * XT:A:R NM:i:0 AM:i:3 NH:i:80 3 272 chr10 72154315 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 3 256 chr10 77806115 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 3 272 chr10 127797927 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 3 256 chr13 4007635 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 3 256 chr14 17647057 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 3 256 chr14 40019581 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 3 256 chr15 50069753 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 3 272 chr15 72113945 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 3 256 chr15 75259455 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 3 256 chr17 69579150 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 3 256 chr19 60830365 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 3 256 chr1 95272134 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 3 256 chr1 102465771 3 50= * 0 0 * * NM:i:0 AM:i:3 NH:i:80 ....
And, just to note, without "local" option I got same results.
As you can see, there are many perfect alignmens for read3, but only 2 alignments of reads 1 and 2. As I understand, with minid=0.6 all alignments of read3 should be also reported for reads 1 and 2?
Could you, please, help to clarify this?
And one more question, why reads 1 and 2 do not have "XT:A:" tag?
Best,
Minja
Leave a comment: