annotate mitobim.xml @ 13:9aa1ef328b2e draft default tip

add path to tool folder
author lijing
date Wed, 21 Aug 2019 17:28:58 -0400
parents a03d23c6ab95
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
1 <tool id="mitobim" name="MITObim" version="0.1.0">
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
2 <description>mitochondrial baiting and iterative mapping</description>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
3 <requirements>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
4 <requirement type="package" version="4.0.2">mira4_assembler</requirement>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
5 </requirements>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
6 <stdio>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
7 <exit_code range="1:" />
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
8 </stdio>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
9 <command><![CDATA[
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
10 cp $readpool readpool.fastq;
13
9aa1ef328b2e add path to tool folder
lijing
parents: 6
diff changeset
11 perl $__tool_directory__/MITObim_1.8.pl
6
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
12 --pair
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
13 --quick $quick
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
14 -start 1
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
15 -end $end
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
16 -sample $sample
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
17 -ref $ref
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
18 -readpool readpool.fastq
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
19 --clean >& log;
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
20 rm readpool.fastq
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
21 ]]></command>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
22 <inputs>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
23 <param type="data" name="quick" format="fasta,txt"
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
24 label="starts process with initial baiting using provided fasta reference" />
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
25 <param type="data" name="readpool" format="fastqsanger,fastq"
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
26 label="readpool in fastq format (*.gz is also allowed) ! For pair-end reads, please use interleave tool to join the forward and revers reads into one fastq file. !" />
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
27 <param name="end" type="integer" label="iteration to end with, default=1"
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
28 value="50" min="1" max="500" help="(-end)" />
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
29 <param name="sample" size="30" type="text" value="sample" label="sampleID as used in initial MIRA assembly"/>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
30 <param name="ref" size="30" type="text" value="reference" label="referenceID as used in initial MIRA assembly"/>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
31 </inputs>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
32 <outputs>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
33 <data name="output1" format="fasta" from_work_dir="finaloutput.fasta" label="${tool.name} on ${on_string}: Fasta"/>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
34 <data name="output2" format="txt" from_work_dir="log" label="${tool.name} on ${on_string}: Log" />
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
35 </outputs>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
36
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
37 <help><![CDATA[
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
38
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
39 MITObim - mitochondrial baiting and iterative mapping
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
40 version 1.8
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
41 author: Christoph Hahn, (c) 2012-2015
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
42
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
43 usage: ./MITObim.pl <parameters>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
44
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
45 parameters:
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
46 -start <int> iteration to start with, default=1
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
47 -end <int> iteration to end with, default=1
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
48 -sample <string> sampleID as used in initial MIRA assembly
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
49 -ref <string> referenceID as used in initial MIRA assembly
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
50 -readpool <FILE> readpool in fastq format (*.gz is also allowed)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
51 -maf <FILE> maf file from previous MIRA assembly
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
52
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
53 optional:
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
54 --quick <FILE> starts process with initial baiting using provided fasta reference
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
55 --kbait <int> set kmer for baiting stringency (default: 31)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
56 --denovo runs MIRA in denovo mode (default: mapping)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
57 --pair finds pairs after baiting (relies on /1 and /2 header convention for read pairs) (default: no)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
58 --verbose show detailed output of MIRA modules (default: no)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
59 --split split reference at positions with more than 5N (default: no)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
60 --help shows this helpful information
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
61 --clean retain only the last 2 iteration directories (default: no)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
62 --trimreads trim data (default: no; we recommend to trim beforehand and feed MITObim with pre trimmed data)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
63 --trimoverhang trim overhang up- and downstream of reference (default: no)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
64 --missmatch <int> number of allowed missmatches in mapping - only for illumina data (default: 15% of avg. read length)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
65 --min_cov <int> minimum average coverage of contigs to be retained (default: off)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
66 --mirapath <string> full path to MIRA binaries (only needed if MIRA is not in PATH)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
67 --iontor use iontorrent data (experimental - default is illumina data)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
68 --454 use 454 data (experimental - default is illumina data)
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
69
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
70 examples:
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
71 ./MITObim.pl -start 1 -end 5 -sample StrainX -ref reference-mt -readpool illumina_readpool.fastq -maf initial_assembly.maf
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
72 ./MITObim.pl -end 10 --quick reference.fasta -sample StrainY -ref reference-mt -readpool illumina_readpool.fastq
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
73
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
74
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
75 ]]></help>
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
76
a03d23c6ab95 MitoBim and interleave
lijing
parents:
diff changeset
77 </tool>