Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

be sure to use same perl interpreter for inner calls #6

Open
EricDeveaud opened this issue Aug 8, 2022 · 0 comments
Open

be sure to use same perl interpreter for inner calls #6

EricDeveaud opened this issue Aug 8, 2022 · 0 comments

Comments

@EricDeveaud
Copy link

Hello,

in some cases installation may be performed with a perl intreperter different for the one avaiable on user path.
(it is our case).

so in order to use the same perl interpreter it would be nice to change the perl calls to $^X that refers to the running perl used by the scripts.

as example in autoAugTrain.pl
change $cmdString = "grep complete ../pasa/$pasaDBname.assemblies.fasta.transdecoder.cds | perl -pe ".'\'s/>(\S+).*/$1\$/\' | perl -pe \'s#\\.#\\\\.#g\' 1> pasa.complete.lst';
to
$cmdString = "grep complete ../pasa/$pasaDBname.assemblies.fasta.transdecoder.cds | $^X -pe ".'\'s/>(\S+).*/$1\$/\' | $^X -pe \'s#\\.#\\\\.#g\' 1> pasa.complete.lst';

this could be applied to the following perl scripts.

autoAug.pl
autoAugPred.pl
autoAugTrain.pl
evalCGP.pl
eval_dualdecomp.pl
eval_multi_gtf.pl
hal2maf_split.pl
optimize_augustus.pl
parseSim4Output.pl
peptides2hints.pl
runAllSim4.pl
writeResultsPage.pl

NB augustify.py and fix_in_frame_stop_codon_genes.py required a manual edition (in our case) in order to set perl interpreter to the correct one.

regards

Eric

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant