annotate MIRUReader.xml @ 1:1a7d6584e1ec draft

Uploaded
author dcouvin
date Tue, 17 Aug 2021 23:27:22 +0000
parents f0e3646a4e45
children f9422a33e9c1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
1 <tool id="mirureader" name="mirureader" version="1.0.0">
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
2 <description> MIRUReader allows to perform in-silico MIRU-VNTR typing using long reads or assembled genome </description>
0
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
3
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
4 <requirements>
1
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
5 <requirement type="package" version="3.2.0">python3-openid</requirement>
0
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
6 <requirement type="package" version="6.6.0">emboss</requirement>
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
7 <requirement type="package" version="1.3.2">pandas</requirement>
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
8 </requirements>
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
9
1
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
10 <!--<command>cp $input input.fasta; python3 $__tool_directory__/MIRUReader/MIRUReader.py -r input.fasta -p sample 1> $output 2>$logfile</command>-->
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
11
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
12 <command detect_errors="aggressive"><![CDATA[
0
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
13
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
14 #import re
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
15 ## Creates symlinks for each input file based on the Galaxy 'element_identifier'
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
16 ## Used so that a human-readable name appears in the output table (instead of 'dataset_xyz.dat')
1
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
17
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
18 ## Add single quotes around each input file identifier
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
19 #set $_input_file = "'{}'".format($input.element_identifier)
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
20 #set $_input_file = $_input_file + '.fasta'
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
21 ln -s '${input}' ${_input_file} &&
0
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
22
1
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
23 python3 $__tool_directory__/MIRUReader/MIRUReader.py -r $_input_file -p $_input_file > $output
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
24
0
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
25
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
26
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
27
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
28 ]]></command>
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
29
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
30 <!-- for element in `echo $named_input_files`; do python3 MIRUReader.py -r $element -p $element;done > $output
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
31 sudo python3 '$__tool_directory__/MIRUReader/MIRUReader.py' '-r' $named_input_files '-p' $named_input_files > $output -->
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
32
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
33 <inputs>
1
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
34 <!--
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
35 <param format="fasta" name="input_files" type="data" label="fasta files :" multiple="true" display="checkboxes"/>
0
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
36 -->
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
37 <param format="fasta" name="input" type="data" label="Fasta file"/>
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
38 </inputs>
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
39
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
40 <outputs>
1
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
41 <data format="tabular" name="output" label="MIRUReader output"/>
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
42 <!--<data format="txt" name="logfile" label="LogFile"/>-->
0
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
43 </outputs>
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
44
1
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
45 <help><![CDATA[
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
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.
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
47
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
48 GitHub: https://github.com/phglab/MIRUReader.git
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
49 ]]>
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
50 </help>
0
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
51
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
52 <citations>
1
1a7d6584e1ec Uploaded
dcouvin
parents: 0
diff changeset
53 <citation type="doi">10.1093/bioinformatics/btz771</citation>
0
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
54 </citations>
f0e3646a4e45 Uploaded
dcouvin
parents:
diff changeset
55 </tool>