Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
-
If your file is tab separated following will work. If you have some other field separator then change \t accordingly. Following assumes that you only have numbers in columns 2 and 3.
Code:$ awk -F'\t' '{ if ($2 >= 500 && $3 >= 1000) print $0}' your_file
Leave a comment:
-
filter above value
Hi,
I have a 3 columns file (conting name, lenght, number of reads).
How can I select the only contigs that are at least 500nt in lenght and that have at least 1000 reads mapping?
Is there a command to do that, even in different steps?
ThanksTags: None
Latest Articles
Collapse
-
by seqadmin
Spatial biology is an exciting field that encompasses a wide range of techniques and technologies aimed at mapping the organization and interactions of various biomolecules in their native environments. As this area of research progresses, new tools and methodologies are being introduced, accompanied by efforts to establish benchmarking standards and drive technological innovation.
3D Genomics
While spatial biology often involves studying proteins and RNAs in their...-
Channel: Articles
01-01-2025, 07:30 PM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, Today, 07:35 AM
|
0 responses
7 views
0 likes
|
Last Post
by seqadmin
Today, 07:35 AM
|
||
Started by seqadmin, Yesterday, 09:43 AM
|
0 responses
9 views
0 likes
|
Last Post
by seqadmin
Yesterday, 09:43 AM
|
||
Started by seqadmin, Yesterday, 08:36 AM
|
0 responses
12 views
0 likes
|
Last Post
by seqadmin
Yesterday, 08:36 AM
|
||
Started by seqadmin, 01-17-2025, 09:38 AM
|
0 responses
36 views
0 likes
|
Last Post
by seqadmin
01-17-2025, 09:38 AM
|
Leave a comment: