[Biopython] Alternatives to Bio.Application for invoking command line tools?

Stéphane Téletchéa stephane.teletchea at univ-nantes.fr
Mon May 11 19:46:37 UTC 2020


Dear all,

I was about to say the same, my preference for my own projects is always 
to try to rely on upstream development as much as possible, so 
subprocess it the recommandation.

Concerning the pipes, isn't subprocess meant for that already?

According to the doc (https://docs.python.org/3/library/subprocess.html) 
and some answers in stack overflow 
(https://stackoverflow.com/questions/13332268/how-to-use-subprocess-command-with-pipes), 
it should.

Would you have some examples so we can try what is problematic (one/two 
basic cases)?

And yes, thanks for asking for comments :-)

Stéphane

Le 10/05/2020 à 19:09, Peter Cock a écrit :
> Yes, subprocess is very powerful but tricky.
>
> Sadly it doesn't help with giving a nice syntax for building command 
> lines, which for me was the main thing our Bio.Application framework 
> added. Perhaps someone else on the list will have a good suggestion.
>
> Peter

-- 
Assistant Professor, UFIP, UMR 6286 CNRS, Team Protein Design In Silico
UFR Sciences et Techniques, 2, rue de la Houssinière, Bât. 25, 44322 Nantes cedex 03, France
Tél : +33 251 125 636 / Fax : +33 251 125 632
http://www.ufip.univ-nantes.fr/ - http://www.steletch.org



More information about the Biopython mailing list