Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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]
[Discipulus]: we are experiencing a Tk revival? this also awaken zentara from his meditations..

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2018-04-20 07:22 GMT
Find Nodes?
    Voting Booth?