Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

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.

Replies are listed 'Best First'.
Re^2: Text manipulation
by frozenwithjoy (Priest) 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]
[1nickt]: erix unfortunately that's there favourite spot. That's why they are usually spotted crawling *up* your leg.
[erix]: ha, the tick and, as it happens, also the curator (now a professor of Paleont.)
[1nickt]: s/there/their/, ugh sorry.
[Your Mother]: Heh. The only one I ever had on me, I caught on my shin, headed north.
erix looks nervously I got away cleanly from my run , it seems :)
1nickt doesn;t remember there being ticks in the old country ...
erix too fast for ticks!
[erix]: 'the old country' is where?
[erix]: that means britain for americans, is that right?
[perldigious]: We need to get more high tech about pest defense to prevent tick and mosquito problems. :-)

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2017-05-24 13:18 GMT
Find Nodes?
    Voting Booth?