Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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
Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (17)
As of 2015-10-07 15:46 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (190 votes), past polls