annotate fa-extract-sequence.xml @ 0:75e70a6d8d60 draft

Uploaded
author nml
date Mon, 06 Feb 2017 10:27:59 -0500
parents
children 0470423f5a47
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
1 <tool id="fa-extract-sequence" name="Fasta Extract Sequence" version="1.0.0">
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
2 <description>Extract a single sequence from a fasta file.</description>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
3 <requirements>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
4 <requirement type="package" version="5.18.1">perl</requirement>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
5 <requirement type="package" version="1.6.924">bioperl</requirement>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
6 </requirements>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
7 <command interpreter="perl">
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
8 fa-extract-few.pl
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
9 -f $dataset
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
10 $exact
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
11 $inverse
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
12 #if $file_or_type.select == "list"
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
13 --list $file_or_type.list_file
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
14 #else
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
15 $file_or_type.id
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
16 #end if
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
17
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
18 >
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
19 $output
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
20 </command>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
21 <inputs>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
22 <param name="dataset" type="data" format="fasta" label="fasta or multifasta file" help="fasta dataset to get statistics for."/>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
23 <param name="exact" type="boolean" truevalue="--exact" label="Exact matches only" help="Will only match exact matches for fasta id"/>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
24 <param name="inverse" type="boolean" truevalue="--inverse" label="Entries NOT matching" help="Will return the sequences not matching the given ids"/>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
25
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
26 <conditional name="file_or_type">
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
27 <param name="select" type="select" label="List file or single pattern">
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
28 <option value="list">List file</option>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
29 <option value="single">Single Pattern</option>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
30 </param>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
31 <when value="list">
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
32 <param name="list_file" type="data" format="txt" help="List of pattern to find." label="List file"/>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
33 </when>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
34 <when value="single">
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
35 <param name="id" type="text" label="Sequence ID (or partial)" help="Name of the sequence to extract. Will also match partial names and return all matches." />
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
36 </when>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
37 </conditional>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
38
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
39
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
40 </inputs>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
41 <outputs>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
42 <data name="output" format="fasta" label="${tool.name} on ${on_string}: Fasta"/>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
43 </outputs>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
44 <tests>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
45 <test>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
46 <output/>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
47 </test>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
48 </tests>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
49 <help>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
50 **Fasta Extract Sequence**
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
51 Extracts a fasta sequence from a multfasta by id (exact or partial)
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
52
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
53 Latest author:
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
54 Written by Philip Mabon - Public Health Agency of Canada
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
55
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
56 Original authors:
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
57 Written by Torsten Seemann - Victorian Bioinformatics Consortium
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
58
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
59 Wrapped by Simon Gladman - Victorian Bioinformatics Consortium
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
60
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
61
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
62 ------
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
63
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
64 Outputs in fasta format.
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
65
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
66 ------
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
67
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
68 Inputs:
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
69
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
70 Fasta dataset
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
71
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
72 Sequence id
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
73 </help>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
74 <citations>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
75 </citations>
75e70a6d8d60 Uploaded
nml
parents:
diff changeset
76 </tool>