in reply to Re^2: system() issue
in thread system() issue
Sorry, you will have to forgive me, I'm biologist with only a little computer knowledge. Here's a bit of code:
#!/usr/bin/perl -w
use strict; &sub1; #generates a text file (rep_set.txt) system('python //macqiime/QIIME/bin/assign_taxonomy.py -i rep_set.txt +-o .'); #generates second txt file &sub2; #reads the second text file
So, all three work on their own, but when I try to run them together, sub2 gives me a blank output even though the first two parts generate the appropriate files. I'm hoping that I am simply using system() wrong... The subroutines simply open a txt file, capture some data from it, and print it out in a different format. I can provide them if need be, but since they work fine individually, I've left them out for simplicity
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: system() issue
by wazat (Monk) on Dec 13, 2013 at 06:02 UTC | |
|
Re^4: system() issue
by Anonymous Monk on Dec 13, 2013 at 05:49 UTC | |
|
Re^4: system() issue
by vinoth.ree (Monsignor) on Dec 13, 2013 at 08:08 UTC | |
|
Re^4: system() issue
by Anonymous Monk on Dec 13, 2013 at 06:28 UTC | |
|
Re^4: system() issue
by Anonymous Monk on Dec 13, 2013 at 06:01 UTC |