Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Text manipulation

by space_monk (Chaplain)
on Nov 09, 2012 at 18:47 UTC ( #1003196=note: print w/ replies, xml ) Need Help??


in reply to Text manipulation

It helps if you give us non-biologists context as to what data the files contain. If you had said they were FASTA format files then you might have got a "fasta" response geddit? :-)

You're essentially taking an entry from each file at a time, but you could do this by reading each file into an array, and unshifting an entry off each array as d1 and d2 and then doing:

print <<EOF; $d1 $d2 ======== EOF
A Monk aims to give answers to those who have none, and to learn from those who know more.


Comment on Re: Text manipulation
Download Code
Re^2: Text manipulation
by frozenwithjoy (Curate) on Nov 09, 2012 at 19:19 UTC
    Nice pun!

    For anyone that doesn't know, FASTA format is a flat-file way to store any number of DNA/RNA/protein sequences and each entry consists of (1) a sequence ID line that starts with a '>' character and (2) one or more lines containing the actual sequence.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003196]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2014-12-25 02:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls