Originally posted by thinkRNA
View Post
Unconfigured Ad
Collapse
X
-
I could not say if it is because of PCR duplicates or the other reasons i mentioned, but my feeling is that coverage variation is substantial (see also the link to a dedicated thread in my previous post). I have no precise measurement of this variation though. Maybe a large scale estimation of this variability could be an interesting experiment -if not already performed? Note that Helicos data could be used as a negative control regarding the potential contribution of the PCR step.
-
What UNIX command do you use to compare multiple lines in the same file? The only way I would know to do iit is to sort, cut the sequence from the SAM file, uniq, then join that list with the SAM. There is an easier way than this, right?Originally posted by krobison View Post
One other approach would be to convert the files to tab-delimited; sort on the sequence column & then you can compress duplicates by just comparing the current row to the previous one -- I believe UNIX sort can deal with files that are quite large & perhaps use on-disk storing of the intermediates during the sort.
Comment
-
Originally posted by RockChalkJayhawk View PostWhat UNIX command do you use to compare multiple lines in the same file? The only way I would know to do iit is to sort, cut the sequence from the SAM file, uniq, then join that list with the SAM. There is an easier way than this, right?Code:drio@ned:~/tmp **$ cat test.txt a:1 z:2 t:1 r:4 x:1 drio@ned:~/tmp **$ cat test.txt | gsort -t: -k2,2 -u a:1 z:2 r:4
-drd
Comment
-
Yep...that is much simpler. Now, I am filtering my SAM file to contain correctly matched pairs while removing duplicates by:Originally posted by drio View PostCode:drio@ned:~/tmp **$ cat test.txt a:1 z:2 t:1 r:4 x:1 drio@ned:~/tmp **$ cat test.txt | gsort -t: -k2,2 -u a:1 z:2 r:4
Code:awk '($7=="=")' accepted_hits.sam |sort -k10,10 -u > reads.filtered
Comment
Latest Articles
Collapse
-
by kinpict.comThe part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
-
Channel: Articles
Today, 06:37 PM -
-
by SEQadmin2
NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...-
Channel: Articles
10-30-2026, 06:46 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, 11-12-2026, 07:59 AM
|
0 responses
27 views
0 reactions
|
Last Post
by SEQadmin2
11-12-2026, 07:59 AM
|
||
|
Started by SEQadmin2, 11-05-2026, 09:25 AM
|
0 responses
35 views
0 reactions
|
Last Post
by SEQadmin2
11-05-2026, 09:25 AM
|
||
|
Started by SEQadmin2, 11-03-2026, 11:54 AM
|
2 responses
56 views
0 reactions
|
Last Post
by kinpict.com
Today, 06:49 PM
|
||
|
Genome Sequencing Reveals Large, Repeat-Rich DNA in Trapdoor Spider Named for Stephen Colbert
by SEQadmin2
Started by SEQadmin2, 10-28-2026, 09:57 AM
|
0 responses
175 views
0 reactions
|
Last Post
by SEQadmin2
10-28-2026, 09:57 AM
|
Comment