How can i add the same sequence starting from the last of a sequence in a multi-fasta file?
0
0
Entering edit mode
5.4 years ago
Ali Syed • 0

actually i want to extend the sequences in fasta file by adding same sequence next to a sequence..

sequence sequencing rna-seq next-gen assembly • 828 views
ADD COMMENT
0
Entering edit mode

And what have you tried? Where do you need our help?

:)

ADD REPLY
0
Entering edit mode

Ali Syed

Biostars is not meant for ready-made answers. We do not encourage asking for direct solutions. Show us your efforts and let us know where you are stuck. We will then try to put you on the right track.

ADD REPLY
0
Entering edit mode

thanks a lot.. i have figure it out by using "paste" command.. it really works

paste -d "\0" unp_bef60.fa unp_bef60-2.fa > unp_bef60_dup.fa

here,

  • unp_bef60.fa original fasta file
  • unp_bef60-2.fa is same file with another name..
  • unp_bef60_dup.fa is final file after duplication..

just need to remove duplicated headers which is an easy task.

ADD REPLY

Login before adding your answer.

Traffic: 2282 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6