Originally posted by thinkRNA
View Post
Announcement
Collapse
No announcement yet.
X
-
-
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
-
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 seqadmin
The recent pandemic caused worldwide health, economic, and social disruptions with its reverberations still felt today. A key takeaway from this event is the need for accurate and accessible tools for detecting and tracking infectious diseases. Timely identification is essential for early intervention, managing outbreaks, and preventing their spread. This article reviews several valuable tools employed in the detection and surveillance of infectious diseases.
...-
Channel: Articles
11-27-2023, 01:15 PM -
-
by seqadmin
Microbiome research has led to the discovery of important connections to human and environmental health. Sequencing has become a core investigational tool in microbiome research, a subject that we covered during a recent webinar. Our expert speakers shared a number of advancements including improved experimental workflows, research involving transmission dynamics, and invaluable analysis resources. This article recaps their informative presentations, offering insights...-
Channel: Articles
11-09-2023, 07:02 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, Yesterday, 02:24 PM
|
0 responses
11 views
0 likes
|
Last Post
by seqadmin
Yesterday, 02:24 PM
|
||
Started by seqadmin, Yesterday, 07:37 AM
|
0 responses
21 views
0 likes
|
Last Post
by seqadmin
Yesterday, 07:37 AM
|
||
Started by seqadmin, 12-04-2023, 08:23 AM
|
0 responses
8 views
0 likes
|
Last Post
by seqadmin
12-04-2023, 08:23 AM
|
||
Started by seqadmin, 12-01-2023, 09:55 AM
|
0 responses
24 views
0 likes
|
Last Post
by seqadmin
12-01-2023, 09:55 AM
|
Comment