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
Our Sponsors
Download
BioinformaticsOnline(BOL) Apps
in your chrome browser.
The Wire
#awk
Wire posts tagged with 'awk'
Rahul Nayak
@rahul
Thread
By
Rahul Nayak
1693 days ago
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
LEGE
@lege
Thread
By
LEGE
1825 days ago
Multiline to singleline covert. $ awk '/^>/ {printf("%s%s\t",(N>0?"\n":""),$0);N++;next;} {printf("%s",$0);} END {printf("\n");}' < input.fa
#Multi
#Single
#Convert
#awk
Jit
@jit.aber
Thread
By
Jit
2662 days ago
Remove duplicated lines from text file. $ awk '!seen[$0]++' allIds
#duplicate
#lines
#remove
#awk
Neel
@neelam
Thread
By
Neel
2664 days ago
Replace space with tab. $ awk -v OFS="\t" '$1=$1' file1
#tab
#space
#replace
#awk
Jit
@jit.aber
Thread
By
Jit
2741 days ago
Rename/number the multi-fasta file in ascending order. $ awk '/^>/{print ">" ++i; next}{print}' < Mix_assembly.fasta > Mix_assembly2.fasta
#awk
#oneliner
Jit
@jit.aber
Thread
By
Jit
3211 days ago
Print all the values beetween a pattern "abc" > awk '/abc/{flag=1;next}/mno/{flag=0}flag' file
#awk
#print
#range
#pattern