annotate promer4_substitions.xml @ 0:bca6b5cb87cd draft default tip

"planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
author nml
date Tue, 17 Dec 2019 15:55:27 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
1 <tool id="promer4_substitutions" name="report substitutions" version="1.2">
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
2 <description>aligns two sets of contigs and reports amino acid substitutions between them</description>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
3 <requirements>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
4 <requirement type="package" version="3.5.6">python</requirement>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
5 <requirement type="package" version="4.0.0beta2">mummer4</requirement>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
6 <requirement type="package" version="1.68">biopython</requirement>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
7 </requirements>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
8 <command detect_errors="exit_code"><![CDATA[
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
9
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
10 python '$__tool_directory__/promer_substitutions.py' '$reference_fasta' '$query_fasta'
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
11
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
12 ]]></command>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
13
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
14 <inputs>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
15 <param name="reference_fasta" type="data" format="fasta" optional="false" label="Reference FASTA"/>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
16 <param name="query_fasta" type="data" format="fasta" optional="false" label="Query FASTA" />
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
17 </inputs>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
18
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
19 <outputs>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
20 <data format="tabular" label="substitutions" name="output_substitutions" from_work_dir="snps.tab" />
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
21 <data format="fasta" label="contigs" name="output_contigs" from_work_dir="contigs.fasta" />
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
22 </outputs>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
23
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
24 <tests>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
25 <test>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
26 <param name="query_fasta" value="query.fasta" />
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
27 <param name="reference_fasta" value="reference.fasta" />
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
28 <output name="output_substitutions" file="snps.tab" ftype="tabular" />
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
29 <output name="output_contigs" file="contigs.fasta" ftype="fasta" />
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
30 </test>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
31 </tests>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
32
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
33 <help><![CDATA[
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
34 Report Substitutions
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
35 =====================
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
36
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
37 Aligns a set of query contigs against a set of reference contigs and reports the amino acid differences between the two sets of contigs using MUMmer4 (promer):
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
38
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
39 Kurtz, Stefan et al. “Versatile and Open Software for Comparing Large Genomes.” Genome Biology 5.2 (2004): R12. PMC. Web. 22 Aug. 2018.
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
40
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
41 The alignments are performed in amino acid space. Only the substitutions from the best set of global alignments are reported in the output.
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
42
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
43 ------
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
44 Inputs
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
45 ------
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
46
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
47 1. Query FASTA: A nucleotide or amino acid FASTA query file.
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
48 2. Reference FASTA: A nucleotide or amino acid FASTA reference file.
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
49
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
50 -------
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
51 Outputs
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
52 -------
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
53
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
54 1. substitions: A tabular file detailing subsitutions between aligned contigs.
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
55
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
56 ]]></help>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
57 <citations>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
58 </citations>
bca6b5cb87cd "planemo upload for repository https://github.com/phac-nml/promer commit 09ae227a84e31c9c56f58815b1a0c8c0e0a7900e"
nml
parents:
diff changeset
59 </tool>