Mercurial > repos > chrisd > snipfinder
annotate variant_caller.xml @ 1:d612ce3827b9 draft
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
author | chrisd |
---|---|
date | Thu, 30 Jun 2016 02:39:23 -0400 |
parents | d9be5a7e70f5 |
children |
rev | line source |
---|---|
0
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
1 <tool id="snp_caller" name="Snip Finder" version="0.1.0"> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
2 <description>Identifies snips for both single-end and paired-end data</description> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
3 <requirements> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
4 <requirement type="package" version="0.1">snp_caller</requirement> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
5 </requirements> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
6 <stdio> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
7 <exit_code range="1:" /> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
8 </stdio> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
9 <command><![CDATA[ |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
10 snp |
1
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
11 -amr_fp $reference |
0
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
12 #if $sam_type.mode == "single_end" |
1
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
13 -samse $sam_type.samse_input |
0
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
14 $sam_type.best |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
15 #else |
1
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
16 -sampe $sam_type.sampe_input |
0
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
17 $sam_type.best |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
18 #end if |
1
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
19 -out_fp $result |
0
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
20 ]]></command> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
21 <inputs> |
1
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
22 <param type="data" name="reference" format="fasta" label="Reference sequence"/> |
0
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
23 <conditional name="sam_type"> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
24 <param name="mode" type="select" label="SAM file type"> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
25 <option value="single_end"></option> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
26 <option value="paired_end"></option> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
27 </param> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
28 <when value="single_end"> |
1
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
29 <param type="data" name="samse_input" format="sam" label="Single-end SAM file"/> |
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
30 <param name="best" type="boolean" label="Filter on unique alignments" truevalue="-b" falsevalue=""/> |
0
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
31 </when> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
32 <when value="paired_end"> |
1
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
33 <param type="data" name="sampe_input" format="sam" label="Paired-end SAM file"/> |
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
34 <param name="best" type="boolean" label="Filter on unique alignments" truevalue="-b" falsevalue=""/> |
0
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
35 </when> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
36 </conditional> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
37 </inputs> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
38 <outputs> |
1
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
39 <data name="result" format="tabular" /> |
0
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
40 </outputs> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
41 <tests> |
1
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
42 <test> |
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
43 <param name="mode" value="single_end"/> |
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
44 <param name="reference" value="ref.fa"/> |
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
45 <param name="samse_input" value="samse.sam"/> |
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
46 <output name="result" file="samse_result" ftype="tabular"/> |
0
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
47 </test> |
1
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
48 <test> |
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
49 <param name="mode" value="paired_end"/> |
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
50 <param name="reference" value="ref.fa"/> |
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
51 <param name="sampe_input" value="sampe.sam"/> |
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
52 <output name="result" file="sampe_result" ftype="tabular"/> |
d612ce3827b9
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 60b005a83eab4984bc88a85a07ca2e416c3e507c-dirty
chrisd
parents:
0
diff
changeset
|
53 </test> |
0
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
54 </tests> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
55 <help><![CDATA[ |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
56 This program parses a SAM file and looks for single nucleotide polymorphisms (SNPs). In single-end mode, only alignments with bit four not set are considered. In paired-end mode, only reads that mapped in a proper pair are considered. When filtering on unique alignments, only alignments with the XT:A:U field are considered. |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
57 |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
58 Program: snpfinder |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
59 |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
60 Contact: Chris Dean <cdean11@rams.colostate.edu> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
61 |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
62 Usage: snp [options] |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
63 |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
64 Options: |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
65 -amr_fp amr database path |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
66 -samse single-end sam file path |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
67 -sampe paired-end sam file path |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
68 -b filter on unique alignments |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
69 ]]></help> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
70 <citations> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
71 </citations> |
d9be5a7e70f5
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
chrisd
parents:
diff
changeset
|
72 </tool> |