in reply to Re^2: How to write a perl script to grab the first 100 sequences to a 227,000 sequence file?
in thread How to write a perl script to grab the first 100 sequences to a 227,000 sequence file?

I meant that all sequences are starting with a > inside a fasta file. The code above works perfectly, but somehow it doesn't put the > back, except the first one...
  • Comment on Re^3: How to write a perl script to grab the first 100 sequences to a 227,000 sequence file?

Replies are listed 'Best First'.
Re^4: How to write a perl script to grab the first 100 sequences to a 227,000 sequence file?
by educated_foo (Vicar) on Apr 11, 2013 at 13:59 UTC
    I would suggest reading about "$\" in perlvar.