in reply to Extracting IDs from fasta file
Hi MBobur,
If I must add my voice to the wonderful wisdom, you have gotten before now.
Which would you rather prefer
And you have to keep asking, what which stand for and how to do the next assignment/ or project?use warnings; use strict; while (<DATA>) { print $1, $/ if m[^>(?=(.+?)\|)]; } __DATA__ >BTBSCRYR|IV|123123-43245273 tgcaccaaacatgtctaaagctggaaccaaaattactttct +ttgaagacaaaaaggccgccactatgacagcgattgcgactgtgcagatttccacatgtacctgagccg +ctg >BTBSCRYADASR|IV|123123-43245273
|
|---|