You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#It will concatenate a multifasta file into an only sequence fasta.
#
open(FASTA, "<$ARGV[0]") || die("Usage: ./fasta_concatenate.pl <fasta_file> sequence_header <new_fasta>\nBe sure to specify a short header, compatible with most programs!\n$!,aborted"); #Open original fasta to concatenate
open (OUTPUT,">$ARGV[2]"); #new concatenated fasta
#Print fasta header and a new line
print OUTPUT ">$ARGV[1]"\n;
#Read fasta file and only print sequences without a new line