annotate PGAP.xml @ 4:70b7a5270968 draft

Uploaded
author dereeper
date Thu, 24 Jun 2021 16:15:34 +0000
parents bbb2c473664c
children d8c5bea1cce2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
1 <tool id="PGAP" name="PGAP" version="1.0">
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
2 <description>Pan-Genome Analysis Pipeline </description>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
3 <requirements>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
4 <requirement type="package" version="2.11.0">blast</requirement>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
5 <requirement type="package" version="7.480">mafft</requirement>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
6 <requirement type="package" version="14.137">mcl</requirement>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
7 <requirement type="package" version="3.697">phylip</requirement>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
8 <requirement type="package" version="1.7.2">perl-bioperl</requirement>
3
bbb2c473664c Uploaded
dereeper
parents: 2
diff changeset
9 <requirement type="package" version="0.07">perl-statistics-linefit</requirement>
0
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
10 </requirements> -->
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
11 <command detect_errors="aggressive"><![CDATA[
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
12 #import re
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
13
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
14 ## Creates symlinks for each input file based on the Galaxy 'element_identifier'
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
15 ## Used so that a human-readable name appears in the output table (instead of 'dataset_xyz.dat')
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
16 #set $named_input_files = ''
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
17 #for $input_file in $input_files
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
18 ## Add single quotes around each input file identifier
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
19 #set $_input_file = "'{}'".format($input_file.element_identifier)
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
20 ln -s '${input_file}' ${_input_file} &&
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
21 #set $named_input_files = $named_input_files + ',' + $_input_file
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
22 #end for
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
23
2
041355b97140 Uploaded
dereeper
parents: 0
diff changeset
24 perl ${__tool_directory__}/PGAP_wrapper2.pl -g $input_files -p $proteins -l $named_input_files -o $output
0
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
25 ]]></command>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
26
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
27
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
28
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
29 <inputs>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
30 <param format="fasta" name="input_files" type="data" multiple="true" label="Coding genes FASTA files"/>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
31 <param format="fasta" name="proteins" type="data" multiple="true" label="Protein FASTA files"/>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
32 </inputs>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
33
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
34 <outputs>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
35 <data format="txt" name="output" label="Pangenome presence absence matrix"/>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
36
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
37 </outputs>
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
38
83e62a1aeeeb Uploaded
dereeper
parents:
diff changeset
39 </tool>