BOL
Log in
Username or email
Password
Remember me
Register
Lost password
Activity
News
Opportunity
ResearchLabs
Questions
Pages
Discussion
More
BioScripts
Blogs
Bookmarks
Files
Fun
Groups
Polls
The Wire
Tryst
Videos
All
Groups
Tryst
Blogs
Bookmarks
Files
Fun
Discussion topics
News
Opportunity posts
Pages
Top-level pages
Polls
ResearchLabs posts
Bio-Scripts
Wire posts
User Points
Video
Users
Comments
Tags
Our Sponsors
Download
BioinformaticsOnline(BOL) Apps
in your chrome browser.
Results for "
awk
"
Wire posts
Neelam Jha
@neelam
Awk
hack for bioinformatician https://www.shellhacks.com/
awk
-print-column-change-field-separator-linux-bash/ #Hack #Bioinfo #Bash
1558 days ago
Rahul Nayak
@rahul
Extract the underscore separated values. $
awk
'{split($0,a,"_"); print a[1]"_"a[2]}' aaa.txt | sort | uniq -u > all_ids_sm.txt #
awk
#bash #underscore #list
1483 days ago
BioStar
@biostar
Split the #multifasta to #singlefasta
awk
'$0 ~ "^>" { match($1, /^>([^:]+)/, id); filename=id[1]} {print >> filename".fa"}' input.fa
1393 days ago
LEGE
@lege
Count number of fasta sequence $
awk
'/^>/ { f = !a[$0]++ } f' aaaa.fa > bbbb.fa #count #fasta #oneliner
968 days ago
BioStar
@biostar
Delete all the headers from multifasta file $
awk
'BEGIN {print ">"ARGV[1]};!/^>/{print}' test.fa #fasta #delete #header #multifasta
96 days ago
BioStar
@biostar
#Multi-line fasta to #Single-line Fasta $
awk
'/^>/ {if (NR>1) print ""; printf("%s\n", $0); next; } { printf("%s", $0) } END { printf("\n"); }' multi_line.fasta > single_line.fasta
87 days ago
« Previous
1
2
3
4
5
Next »