1
|
1 <tool id="mirureader" name="mirureader" version="1.0.0">
|
|
2 <description> MIRUReader allows to perform in-silico MIRU-VNTR typing using long reads or assembled genome </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)
|
|
20 #set $_input_file = $_input_file + '.fasta'
|
|
21 ln -s '${input}' ${_input_file} &&
|
0
|
22
|
1
|
23 python3 $__tool_directory__/MIRUReader/MIRUReader.py -r $_input_file -p $_input_file > $output
|
|
24
|
0
|
25
|
|
26
|
|
27
|
|
28 ]]></command>
|
|
29
|
|
30 <!-- for element in `echo $named_input_files`; do python3 MIRUReader.py -r $element -p $element;done > $output
|
|
31 sudo python3 '$__tool_directory__/MIRUReader/MIRUReader.py' '-r' $named_input_files '-p' $named_input_files > $output -->
|
|
32
|
|
33 <inputs>
|
1
|
34 <!--
|
|
35 <param format="fasta" name="input_files" type="data" label="fasta files :" multiple="true" display="checkboxes"/>
|
0
|
36 -->
|
|
37 <param format="fasta" name="input" type="data" label="Fasta file"/>
|
|
38 </inputs>
|
|
39
|
|
40 <outputs>
|
1
|
41 <data format="tabular" name="output" label="MIRUReader output"/>
|
|
42 <!--<data format="txt" name="logfile" label="LogFile"/>-->
|
0
|
43 </outputs>
|
|
44
|
1
|
45 <help><![CDATA[
|
|
46 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.
|
|
47
|
|
48 GitHub: https://github.com/phglab/MIRUReader.git
|
|
49 ]]>
|
|
50 </help>
|
0
|
51
|
|
52 <citations>
|
1
|
53 <citation type="doi">10.1093/bioinformatics/btz771</citation>
|
0
|
54 </citations>
|
|
55 </tool>
|