Repository navigation
Conversation
|
What does needing a full path have to do with the change you're suggesting? Perhaps an example would help? Thanks! |
|
currently w=path transfers to -w=/=/path, I guess related to the "filename=True" setting for this option, while in fact because the external software requires full path, it should really be treated as a string? |
|
I don't understand what you have typed with all the slashes and equals. Can you show a small Python example using the command line wrapper object? |
|
Here is an example:
Then when raxml_cl actually executes, there is this error below: Notice the extra "/=" in the commandline print-out? However if using the
Notice the difference? On Tue, Sep 25, 2012 at 3:40 PM, Peter Cock [email protected]:
|
|
I think the reason is that RAxML will automatically add a slash to the path given after -w if it does not start with /. So for -w=/fullpath when RAxML reads it, it becomes -w /=/fullpath. So when wrapping around this option the equals sign should not be used. |
|
That could be a bug in RAxML... what happens if you have quotes (which are needed if there are spaces in the path)? e.g. raxmlHPC -f a -m GTRGAMMA -n aln -p 12345 -s dna.phy -w "/home/jingping/projects/my playground/raxml" -x 12345 -N 100 If that works, then we'd want filename=True (to get the quotes added automatically) and equate=False (don't add the equals sign after the -w). If you have access to a Windows machine it would be interesting to test this if the argument refers to a different drive (and to see what RAxML does with the two kinds of slashes). CC @etal |
|
On Sep 26, 2012 5:01 AM, "Peter Cock" [email protected] wrote:
|
|
Would you like to revise your patch to just add the equate=False line (but keep the filename=True line)? Or would you be happy for me to do that and just credit you? |
|
I agree with this change. If RAxML insists on absolute paths, then we should probably document that, and/or add a call to os.path.abspath automatically when setting the working_dir attribute. |
Original author Eric Talevich and contributors since tracked with version control (with one exception noted below) have all agreed: - Adhemar Zerlotini (@azneto) biopython#1412 (comment) - Andrey Raspopov (@Andrey-Raspopov) biopython#2444 - Chris Daley (@chebizarro) biopython#2349 - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Eric Talevich (@etal) biopython#898 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Sergio Valqui (@svalqui) biopython#1749 - Sujan Dulal (@Dsujan) biopython#2430 We have not had explicit permission from Jingping Li (@Jingping) for the one line change applied in biopython#73 and credited to them. The change was suggested by me, but the recorded authorship was more to recognise their work in identifying the problem and testing the solution.
Original author Eric Talevich and contributors since tracked with version control (with one exception noted below) have all agreed: - Adhemar Zerlotini (@azneto) #1412 (comment) - Andrey Raspopov (@Andrey-Raspopov) #2444 - Chris Daley (@chebizarro) #2349 - Christian Brueffer (@cbrueffer) #898 (comment) - Eric Talevich (@etal) #898 (comment) - Peter Cock (@peterjc) #898 (comment) - Sergio Valqui (@svalqui) #1749 - Sujan Dulal (@Dsujan) #2430 We have not had explicit permission from Jingping Li (@Jingping) for the one line change applied in #73 and credited to them. The change was suggested by me, but the recorded authorship was more to recognise their work in identifying the problem and testing the solution.
Original author Eric Talevich and contributors since tracked with version control (with one exception noted below) have all agreed: - Adhemar Zerlotini (@azneto) biopython#1412 (comment) - Andrey Raspopov (@Andrey-Raspopov) biopython#2444 - Chris Daley (@chebizarro) biopython#2349 - Christian Brueffer (@cbrueffer) biopython#898 (comment) - Eric Talevich (@etal) biopython#898 (comment) - Peter Cock (@peterjc) biopython#898 (comment) - Sergio Valqui (@svalqui) biopython#1749 - Sujan Dulal (@Dsujan) biopython#2430 We have not had explicit permission from Jingping Li (@Jingping) for the one line change applied in biopython#73 and credited to them. The change was suggested by me, but the recorded authorship was more to recognise their work in identifying the problem and testing the solution.
-w FULL (!) path to the directory into which RAxML shall write its output files