Is it possible to send parameters through a variable to wrapper in python? The wrapper I am using works properly when parameters are provided directly. For example:
ClustalOmegaCommandline(infile='abc.fasta', auto=True, verbose=True, force=True)
works fine. But passing parameters through a variable, for example,
param = "infile='abc.fasta', auto=True, verbose=True, force=True"
ClustalOmegaCommandline(param)
results in 'Non-zero return code as param is not recognized as an internal or external command'.
Wrapper recognizes param only as a string but cannot recognize them as parameters. Is there a way to get around this?