Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

fast rename fasta header

# Rename all the header in a FASTA file with a sequential posix (e.g., Seq_1, Seq_2, ...)
awk '/^>/{print ">Seq_" ++i; next}{print}' input.fasta > output.fasta
# Or with in-place edit with moreutils sponge
awk '/^>/{print ">Seq_" ++i; next}{print}' input.fasta | sponge input.fasta
Comment

PREVIOUS NEXT
Code Example
Shell :: nodejs new version error overwrite old 
Shell :: ubuntu-not-enough-space-on-tmp/ 
Shell :: get last line from string powershell 
Shell :: how to install nipe 
Shell :: ERROR: for build_env Cannot create container for service build_env: create .: volume name is too short, names should be at least two alphanumeric characters 
Shell :: vim move terminal down 
Shell :: disban camera ubuntu 
Shell :: find directory spend inodes 
Shell :: drush available source plugins 
Shell :: How to open a code editor in github 
Shell :: create a tag locally 
Shell :: sudo kill code for shutting down 48 
Shell :: how to show lines on cat command 
Shell :: submit siomething to backgrpund 
Shell :: c pipe 2 arguments 
Shell :: git clone epitech 
Shell :: open file in note from command line linux 
Shell :: install fly on ubuntu 
Shell :: unique IP active connections on server 
Shell :: bash tr squeeze space 
Shell :: Run the Redis Lab in your local Docker environment 
Shell :: ubuntu compressed extract 
Shell :: Screen casting to smart screen (DLNA) from ubuntu 
Shell :: Find all pods that status is NotReady sort jq cheatsheet 
Shell :: virtual machine linux error several modules to compile 
Shell :: install anaconda ubuntu 16.04 
Shell :: github clone 
Shell :: kill debian login terminal 
Shell :: sol-merger usage 
Shell :: git: svn download a single folder from github repository ( such as : image folder ) on mac 
ADD CONTENT
Topic
Content
Source link
Name
4+7 =