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