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
#rename
Wire posts tagged with 'rename'
Neel
@neelam
Thread
By
Neel
1867 days ago
#Rename
the
#fasta
#header
and
#keep
first $ perl -ne 'if (/^(>\S+)/){print "$1\n";}else{print $_;}' realTestDATA.fa > realTestDATA_headerCorrected.fa
#Perl
Jit
@jit.aber
Thread
By
Jit
2246 days ago
Rename the fasta header perl -ane 'if(/\>/){$a++;print ">LR$a\n"}else{print;}' allPacBio_clean.fa > allPacBio_clean_shortName.fa
#fasta
#header
#rename
Jit
@jit.aber
Thread
By
Jit
2467 days ago
Append to the file name. $ for filename in *.scf; do mv "$filename" "H_$filename"; done;
#append
#mv
#rename
Rahul Nayak
@rahul
Thread
By
Rahul Nayak
3857 days ago
rename all *.txt as *.bak: find . -name "*.txt" | sed "s/\.txt$//" | xargs -i echo mv {}.txt {}.bak | sh
#Linux
#Rename
#Oneliner