bowtie2 -f -N 1 -p 8 -x REF.fa -1 sample01_1.fasta -2 sample01_2.fasta -S sample01.sam --al sample01_al.fasta --al-conc sample01_alcon.fasta
9260783 reads; of these:
9260783 (100.00%) were paired; of these:
9260311 (99.99%) aligned concordantly 0 times
472 (0.01%) aligned concordantly exactly 1 time
0 (0.00%) aligned concordantly >1 times
----
9260311 pairs aligned concordantly 0 times; of these:
43 (0.00%) aligned discordantly 1 time
----
9260268 pairs aligned 0 times concordantly or discordantly; of these:
18520536 mates make up the pairs; of these:
18520180 (100.00%) aligned 0 times
356 (0.00%) aligned exactly 1 time
0 (0.00%) aligned >1 times
0.01% overall alignment rate
Result:
Number of reads in sample01_alcon.1.fasta: 472
Number of reads in sample01_alcon.2.fasta: 472
Number of reads in sample01_al.fasta:0
To find number of reads matching a Particular Reference from sam file I run following :
perl -ne ' if (/^\@SQ/) { @F = split(/\t|:/, $_); print $F[2]."\n" } ' sample01.sam > agi_list.txt
perl -ne ' chomp($_); print $_."\t".`grep -c "\t$_" sample01.sam ` ' agi_list.txt >1a.counts
I have Couple of questions:
1) So In theory I should get (2*aligned concordantly)+(2*discordantly) =(2*472)+(2*43)=1030 . Right? but I got another number:1742 which is like (2*472)+(2*43)+(2*356)=1742.
2) I could not find the 43 aligned discordantly sequences and the 356 sequences in my alinged file why is it so and how I could find it?
3) What I need to do is calculate RPKM and also retrieve those number of sequences
What I need to do is calculate RPKM and also retrieve those number of sequences
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
-
views Bowtie2 : aligned result read count not matching with sam Read count
Last edited by vinumanikandan; 05-13-2015, 03:05 AM.
Latest Articles
Collapse
-
by seqadmin
Innovations in next-generation sequencing technologies and techniques are driving more precise and comprehensive exploration of complex biological systems. Current advancements include improved accessibility for long-read sequencing and significant progress in single-cell and 3D genomics. This article explores some of the most impactful developments in the field over the past year.
Long-Read Sequencing
Long-read sequencing has seen remarkable advancements,...-
Channel: Articles
12-02-2024, 01:49 PM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, 12-02-2024, 09:29 AM
|
0 responses
159 views
0 likes
|
Last Post
by seqadmin
12-02-2024, 09:29 AM
|
||
Started by seqadmin, 12-02-2024, 09:06 AM
|
0 responses
58 views
0 likes
|
Last Post
by seqadmin
12-02-2024, 09:06 AM
|
||
Started by seqadmin, 12-02-2024, 08:03 AM
|
0 responses
48 views
0 likes
|
Last Post
by seqadmin
12-02-2024, 08:03 AM
|
||
Started by seqadmin, 11-22-2024, 07:36 AM
|
0 responses
77 views
0 likes
|
Last Post
by seqadmin
11-22-2024, 07:36 AM
|