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
Polls
The Wire
Videos
Our Sponsors
Download
BioinformaticsOnline(BOL) Apps
in your chrome browser.
The Wire
#rename
Wire posts tagged with 'rename'
Neel
@neelam
Thread
By
Neel
2302 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
2681 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
2902 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
4291 days ago
rename all *.txt as *.bak: find . -name "*.txt" | sed "s/\.txt$//" | xargs -i echo mv {}.txt {}.bak | sh
#Linux
#Rename
#Oneliner