1
|
1 <tool id="mirureader" name="mirureader" version="1.0.0">
|
2
|
2 <description> MIRUReader allows to perform in-silico MIRU-VNTR typing using assembled genomes (FASTA format)</description>
|
0
|
3
|
|
4 <requirements>
|
1
|
5 <requirement type="package" version="3.2.0">python3-openid</requirement>
|
0
|
6 <requirement type="package" version="6.6.0">emboss</requirement>
|
|
7 <requirement type="package" version="1.3.2">pandas</requirement>
|
|
8 </requirements>
|
|
9
|
1
|
10 <!--<command>cp $input input.fasta; python3 $__tool_directory__/MIRUReader/MIRUReader.py -r input.fasta -p sample 1> $output 2>$logfile</command>-->
|
|
11
|
|
12 <command detect_errors="aggressive"><![CDATA[
|
0
|
13
|
|
14 #import re
|
|
15 ## Creates symlinks for each input file based on the Galaxy 'element_identifier'
|
|
16 ## Used so that a human-readable name appears in the output table (instead of 'dataset_xyz.dat')
|
1
|
17
|
|
18 ## Add single quotes around each input file identifier
|
|
19 #set $_input_file = "'{}'".format($input.element_identifier)
|
2
|
20
|
|
21
|
|
22 ln -s '${input}' "${_input_file}" &&
|
|
23 cp "$_input_file" input.fasta &&
|
|
24 python3 $__tool_directory__/MIRUReader/MIRUReader.py -r input.fasta -p $_input_file > $output
|
1
|
25
|
0
|
26
|
|
27
|
|
28
|
|
29 ]]></command>
|
|
30
|
2
|
31 <!-- #set $var = ${_input_file//[^[:alnum:]]/}
|
|
32 #set var = ${f//:()/}
|
|
33 #set $_input_file = $_input_file + '.fasta'
|
|
34 $_input_file="${_input_file// /_}" && -->
|
|
35
|
0
|
36 <!-- for element in `echo $named_input_files`; do python3 MIRUReader.py -r $element -p $element;done > $output
|
|
37 sudo python3 '$__tool_directory__/MIRUReader/MIRUReader.py' '-r' $named_input_files '-p' $named_input_files > $output -->
|
|
38
|
|
39 <inputs>
|
1
|
40 <!--
|
|
41 <param format="fasta" name="input_files" type="data" label="fasta files :" multiple="true" display="checkboxes"/>
|
0
|
42 -->
|
2
|
43 <param format="fasta" name="input" type="data" label="FASTA file"/>
|
0
|
44 </inputs>
|
|
45
|
|
46 <outputs>
|
1
|
47 <data format="tabular" name="output" label="MIRUReader output"/>
|
|
48 <!--<data format="txt" name="logfile" label="LogFile"/>-->
|
0
|
49 </outputs>
|
|
50
|
1
|
51 <help><![CDATA[
|
|
52 MIRUReader allows to identify 24-locus MIRU-VNTR for Mycobacterium tuberculosis complex (MTBC) directly from long reads generated by Oxford Nanopore Technologies (ONT) and Pacific Biosciences (PacBio). It also work on assembled genome.
|
|
53
|
|
54 GitHub: https://github.com/phglab/MIRUReader.git
|
|
55 ]]>
|
|
56 </help>
|
0
|
57
|
|
58 <citations>
|
1
|
59 <citation type="doi">10.1093/bioinformatics/btz771</citation>
|
0
|
60 </citations>
|
|
61 </tool>
|