Eldan Aranye has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, In relation to my other question (the one with redirecting STDERR), I would like to ask this: what if the command outputs a file? How can I store the data using Perl? Will doing this:
@output = `/home/.../samtools view...`
be enough? Or am I missing something? Using the console, I am able to do this by doing:
/home/.../samtools view ... > output.bam
I hope I was able to deliver this clearly. Thanks in advance for any help!
Diana
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Running an external command
by davido (Cardinal) on Apr 26, 2012 at 04:31 UTC | |
|
Re: Running an external command
by 2teez (Vicar) on Apr 26, 2012 at 04:29 UTC | |
|
Re: Running an external command
by GrandFather (Saint) on Apr 26, 2012 at 04:26 UTC | |
|
Re: Running an external command
by icoder (Novice) on Apr 26, 2012 at 08:19 UTC | |
|
Re: Running an external command
by Eldan Aranye (Acolyte) on Apr 26, 2012 at 09:11 UTC | |
by Mr. Muskrat (Canon) on Apr 26, 2012 at 17:19 UTC | |
by ww (Archbishop) on Apr 26, 2012 at 11:45 UTC | |
|
Re: Running an external command
by Eldan Aranye (Acolyte) on Apr 30, 2012 at 00:34 UTC |