Displaying 1 result from an estimated 1 matches for "update_newick_root".
2009 Feb 23
1
running multiple commands in one system() call
...t to make the python script work).
Basically I need to do this:
============
mytreefile_location <-
"/bioinformatics/phylocom/_results/beta/ss_newicks/subsamp6_fromea_wnalist.newick"
cmd1 = 'source ~/.bash_profile'
cmd2 = paste('python
/bioinformatics/phylocom/_scripts/update_newick_root.py ',
mytreefile_location)
system(cmd1)
system(cmd2)
============
...but if I do it this way, the sourcing of .bash_profile from the first
system() call does not carry over to the 2nd system() call.
Any help appreciated!!
Cheers,
Nick
--
==============================================...