changeset 2:58b36867b577 draft

Fix bug to load env
author p.lucas
date Tue, 30 Mar 2021 14:20:36 +0000
parents 9a66e3a9ff53
children 3d49bef78c3d
files anarci_wrapper.xml
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/anarci_wrapper.xml	Mon Mar 29 10:46:35 2021 +0000
+++ b/anarci_wrapper.xml	Tue Mar 30 14:20:36 2021 +0000
@@ -1,8 +1,8 @@
 <tool id="ANARCI" name="ANARCI" version="1.0">
-  <description>Use ANARCUI tools to use HADDOCK-antibody-antigen after.</description>
+  <description>Use ANARCI tools to use HADDOCK-antibody-antigen after.</description>
   <command detect_errors="exit_code"><![CDATA[
-    conda activate Ab-HADDOCK;
-    python2.7 ImmunoPDB.py -i '${input}' -o '${output}' --scheme ${scheme} --splitscfv
+    source /home/galaxy/data/_conda/bin/activate Ab-HADDOCK;
+    python2.7 /home/galaxy/shed_tools/testtoolshed.g2.bx.psu.edu/repos/p.lucas/anarci/9a66e3a9ff53/anarci/HADDOCK-antibody-antigen/ImmunoPDB.py -i '${input}' -o '${output}' --scheme ${scheme} --splitscfv
     #if $receptor
       --receptor ${receptor}
     #end if;
@@ -15,7 +15,8 @@
     #if $splitscfv
       --splitscfv
     #end if;
-    conda deactivate
+    ;
+    source /home/galaxy/data/_conda/bin/deactivate
   ]]></command>
   <inputs>
     <param format="pdb" name="input" type="data" label="Select your PDB file."/>