Entering edit mode
4.4 years ago
ravi.eshwari
▴
10
Hi all,
I have a fasta file with sequences as below
>ATGATCTATCGTGTATCACGGTCA(1) TGACCGTGATACACGATAGATCAT
>TACGGTTCTGAAACGGAGAGTTCG(1) CGAACTCTCCGTTTCAGAACCGTA
>GCTTGCGACGACTGAGTTGGAG(1) GCTTGCGACGACTGAGTTGGAG
>ATTACTTGTTGTGATTGTTGGCCT(1) ATTACTTGTTGTGATTGTTGGCCT
>ATGCCGTCGGAAATAATGAGTTTA(1) ATGCCGTCGGAAATAATGAGTTTA
>AACAGATCCGCTGTAGCACATCGG(1) CCGATGTGCTACAGCGGATCTGTT
>TTGGCACGAGTGACTCCTTAGAC(1) GTCTAAGGAGTCACTCGTGCCAA
>TTAAGCATGACTTAGACTATC(2) TTAAGCATGACTTAGACTATC
>CAAAGGAACCGTGAGCTCAACT(1) CAAAGGAACCGTGAGCTCAACT
i need an output as below
>AAGTATGATTGATAATTCGTGATT(1)
AATCACGAATTATCAATCATACTT
>ATGGATGAAATGACATGGAATACAC(2)
GTGTATTCCATGTCATTTCATCCAT
>CATGGATAAGAGAGAAAAGGACACAAGAAGCCA(1)
CATGGATAAGAGAGAAAAGGACACAAGAAGCCA
>ATCGGTTGCAGGTAGACCGAGCTT(1)
AAGCTCGGTCTACCTGCAACCGAT
can you please suggest me an easiest way to do this or any code in ubuntu
Please use the formatting bar (especially the
code
option) to present your post better.Thank you!
With the
code
button your input will look like this.try