Linearizing Mixed Fasta
How can I linearize mixed fasta?
>Seq1
ACGT
>Seq2
CGTAGT
>Seq3
CGTAGTCGTAGT
CTA
>Seq4
ATGC
It should look something like this:
sed '/^G\|A\|C\|T/s/\n//g'
But it's not working and I don't know how to command sed not to substitute one line sequnces.
• 2,897 views
•
link
2 answers
Concatenated fasta is sometimes also called vienna format. Here's an awk script to convert it.
Andreas
• 2 views
•
link
Log in to answer this question.
very similar to
this post was closed. Please, keep it open to redirect the future queries.