Fasta file modification
I'd like to add a short peptide to the C terminus of each protein (around 1000 in total) in the fasta file from Uniprot database. Could you give me some clues how to do that? Thank you so much!
• 1,047 views
•
link
2 answers
Try seqkit mutate.
$ echo -ne ">a\nATCG\n>b\ngcat\n"
>a
ATCG
>b
gcat
$ echo -ne ">a\nATCG\n>b\ngcat\n" | seqkit mutate -i -1:NNNN
[INFO] edit seq: a
[INFO] edit seq: b
>a
ATCGNNNN
>b
gcatNNNN
• 0 views
•
link
linearize the fasta and add the suffix with sed 's/$/blablabal/'
• 0 views
•
link
Log in to answer this question.