Mercurial > repos > ucsb-phylogenetics > osiris_phylogenetics
comparison getdata/get_seqs.xml @ 0:5b9a38ec4a39 draft default tip
First commit of old repositories
author | osiris_phylogenetics <ucsb_phylogenetics@lifesci.ucsb.edu> |
---|---|
date | Tue, 11 Mar 2014 12:19:13 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5b9a38ec4a39 |
---|---|
1 <tool id="get_sequences" name="Get_Sequences" version="1.0"> | |
2 <description>Create a file of selected sequences</description> | |
3 <command interpreter="perl">get_seqs.pl | |
4 $cosorted | |
5 $paired | |
6 $ignorecase | |
7 -db $infile | |
8 -table $input_table | |
9 -col $id_column | |
10 -selected $selected | |
11 -unselected $unselected | |
12 #for $i in $filters | |
13 "${i.condition}:${i.column}:{i.value}" | |
14 #end for | |
15 </command> | |
16 <inputs> | |
17 <param name="infile" type="data" format="fasta,fastq,fastqsanger,fastqillumina,fastqsolexa" label="Sequence Database"/> | |
18 <param name="input_table" type="data" format="tabular" label="File containing target IDs"/> | |
19 <param name='id_column' type='data_column' data_ref='input_table' label='Column containing sequence IDs'/> | |
20 <param name="cosorted" type="boolean" checked="true" truevalue='--cosorted' falsevalue='' label='Sequences appear in same order in both files' /> | |
21 <param name="paired" type="boolean" checked="true" truevalue="--paired" falsevalue="" label="Select both paired reads if one read matches" help="Requires Illumina-style read IDs (e.g. */1, */2)" /> | |
22 <param name='ignorecase' type='boolean' checked='false' truevalue='--ignorecase' falsevalue='' label='Ignore case differences between table and database IDs' /> | |
23 <param name='outselect' type='select' display='radio'> | |
24 <option value='selected'>output selected sequences file only</option> | |
25 <option value='unselected'>output other sequences file only</option> | |
26 <option value='both'>generate both outfiles</option> | |
27 </param> | |
28 <repeat name='filters' title='Filter'> | |
29 <param name='condition' type='select' display='radio' label='Condition'> | |
30 <option value='s_eq'>text equals</option> | |
31 <option value='s_ne'>text not equals</option> | |
32 <option value='s_contains'>text contains</option> | |
33 <option value='s_notcontains'>text does not contain</option> | |
34 <option value='s_startswith'>text starts with</option> | |
35 <option value='s_notstartswith'>text does not start with</option> | |
36 <option value='s_endswith'>text ends with</option> | |
37 <option value='s_notendswith'>text does not end with</option> | |
38 <option value='n_eq'>number equals (==)</option> | |
39 <option value='n_ne'>number not equals (!=)</option> | |
40 <option value='n_gt'>number greater than (>)</option> | |
41 <option value='n_lt'>number less than (<)</option> | |
42 </param> | |
43 <param name='column' type='data_column' data_ref='input_table' label='On column'/> | |
44 <param name='value' type='text' label='Value'/> | |
45 </repeat> | |
46 </inputs> | |
47 <outputs> | |
48 <data name="selected" format="input" label="${tool.name} on $on_string: Selected sequences"> | |
49 <filter>outselect == "selected" or outselect == "both"</filter> | |
50 </data> | |
51 <data name="unselected" format="input" label="${tool.name} on $on_string: Unselected sequences"> | |
52 <filter>outselect == "unselected" or outselect == "both"</filter> | |
53 </data> | |
54 </outputs> | |
55 <help> | |
56 **What it does** | |
57 | |
58 Produces a file of selected sequences. | |
59 | |
60 If the files are cosorted, a much faster algorithm is used. If it fails, it assumes the files were not cosorted and automatically tries again using the slower algorithm which does not require cosorted files. | |
61 | |
62 One or more filters may be included to evaluate text or numeric data. | |
63 | |
64 ------ | |
65 | |
66 **Inputs** | |
67 | |
68 FASTA file of sequence database, text file of target IDs. | |
69 | |
70 ------ | |
71 | |
72 **Outputs** | |
73 | |
74 FASTA file. User may select to either output the selected sequences, the other sequences, or both files. | |
75 | |
76 ------- | |
77 | |
78 **Additional Information** | |
79 | |
80 Please direct questions or comments to ucsb_phylogenetics@lifesci.ucsb.edu or, if you can, enter them on the osiris_phylogenetics site at bitbucket.org | |
81 | |
82 ------- | |
83 | |
84 **Citations** | |
85 | |
86 This tool is part of the Osiris Phylogenetics Tool Package for Galaxy. If you make extensive use of this tool in a publication, please consider citing the following. | |
87 | |
88 Current Osiris Citation is here | |
89 | |
90 http://osiris-phylogenetics.blogspot.com/2012/10/citation.html | |
91 </help> | |
92 </tool> |