annotate pyCRAC/pyExtractLinesFromGTF.xml @ 0:19b20927172d draft

Uploaded
author swebb
date Tue, 18 Jun 2013 09:11:00 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
19b20927172d Uploaded
swebb
parents:
diff changeset
1 <tool id ="pyExtractLinesFromGTF" name="pyExtractLinesFromGTF">
19b20927172d Uploaded
swebb
parents:
diff changeset
2 <requirements>
19b20927172d Uploaded
swebb
parents:
diff changeset
3 <requirement type="package">pyCRAC</requirement>
19b20927172d Uploaded
swebb
parents:
diff changeset
4 </requirements>
19b20927172d Uploaded
swebb
parents:
diff changeset
5 <command interpreter="python">
19b20927172d Uploaded
swebb
parents:
diff changeset
6 /usr/local/bin/pyExtractLinesFromGTF.py --gtf $addGTF.gtf --genes_file $g --attribute $attribute $v -o $out
19b20927172d Uploaded
swebb
parents:
diff changeset
7 </command>
19b20927172d Uploaded
swebb
parents:
diff changeset
8 <version_command>/usr/local/bin/pyExtractLinesFromGTF.py --version</version_command>
19b20927172d Uploaded
swebb
parents:
diff changeset
9 <inputs>
19b20927172d Uploaded
swebb
parents:
diff changeset
10 <conditional name="addGTF">
19b20927172d Uploaded
swebb
parents:
diff changeset
11 <param name="gtfFile" type="select" label="Choose GTF File from">
19b20927172d Uploaded
swebb
parents:
diff changeset
12 <option value="default" selected="true">Defaults</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
13 <option value="other">History</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
14 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
15 <when value="default">
19b20927172d Uploaded
swebb
parents:
diff changeset
16 <param name="gtf" type="select" label="GTF File --gtf" help="GTF file containing gene ID co-ordinates">
19b20927172d Uploaded
swebb
parents:
diff changeset
17 <options from_data_table="pycrac_gtf"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
18 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
19 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
20 <when value="other">
19b20927172d Uploaded
swebb
parents:
diff changeset
21 <param format="GTF" name="gtf" type="data" label="GTF File --gtf" help="GTF file containing gene ID co-ordinates"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
22 </when>
19b20927172d Uploaded
swebb
parents:
diff changeset
23 </conditional>
19b20927172d Uploaded
swebb
parents:
diff changeset
24 <param format="txt" name="g" type="data" label="File containing gene list --genes_file" help="Tabular file with 1 column of gene or annotation names"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
25 <param name="attribute" type="select" label="Select the attribute to extract names from --attribute">
19b20927172d Uploaded
swebb
parents:
diff changeset
26 <option value="gene_name" selected="true">gene_name</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
27 <option value="gene_id">gene_id</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
28 <option value="transcript_name">transcript_name</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
29 <option value="transcript_id">transcript_id</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
30 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
31 <param name="v" type="select" label="Extract lines from GTF that -v">
19b20927172d Uploaded
swebb
parents:
diff changeset
32 <option value="" selected="true">Match the gene file</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
33 <option value="-v">Do not match in gene fil</option>
19b20927172d Uploaded
swebb
parents:
diff changeset
34 </param>
19b20927172d Uploaded
swebb
parents:
diff changeset
35 <param name="label" type="text" format="txt" size="30" value="pyExtractLinesFromGTF" label="Enter output file label -o" />
19b20927172d Uploaded
swebb
parents:
diff changeset
36 </inputs>
19b20927172d Uploaded
swebb
parents:
diff changeset
37
19b20927172d Uploaded
swebb
parents:
diff changeset
38 <outputs>
19b20927172d Uploaded
swebb
parents:
diff changeset
39 <data format="gtf" name="out" label="${label.value}.gtf"/>
19b20927172d Uploaded
swebb
parents:
diff changeset
40 </outputs>
19b20927172d Uploaded
swebb
parents:
diff changeset
41 <help>
19b20927172d Uploaded
swebb
parents:
diff changeset
42 .. class:: infomark
19b20927172d Uploaded
swebb
parents:
diff changeset
43
19b20927172d Uploaded
swebb
parents:
diff changeset
44 **pyExtractLinesFromGTF**
19b20927172d Uploaded
swebb
parents:
diff changeset
45
19b20927172d Uploaded
swebb
parents:
diff changeset
46 pyExtractLinesFromGTF is part of the pyCRAC_ package. Extracts lines from a GTF file that contain gene names of interest.
19b20927172d Uploaded
swebb
parents:
diff changeset
47
19b20927172d Uploaded
swebb
parents:
diff changeset
48
19b20927172d Uploaded
swebb
parents:
diff changeset
49 .. _pyCRAC: http://sandergranneman.bio.ed.ac.uk/Granneman_Lab/pyCRAC_software.html
19b20927172d Uploaded
swebb
parents:
diff changeset
50
19b20927172d Uploaded
swebb
parents:
diff changeset
51 ------
19b20927172d Uploaded
swebb
parents:
diff changeset
52
19b20927172d Uploaded
swebb
parents:
diff changeset
53 **Parameter list**
19b20927172d Uploaded
swebb
parents:
diff changeset
54
19b20927172d Uploaded
swebb
parents:
diff changeset
55 Options::
19b20927172d Uploaded
swebb
parents:
diff changeset
56
19b20927172d Uploaded
swebb
parents:
diff changeset
57 --gtf=Yourfavoritegtf.gtf
19b20927172d Uploaded
swebb
parents:
diff changeset
58 type the path to the gtf file that you want to use. By
19b20927172d Uploaded
swebb
parents:
diff changeset
59 default it expects data from the standard input.
19b20927172d Uploaded
swebb
parents:
diff changeset
60 -g FILE, --genes_file=FILE
19b20927172d Uploaded
swebb
parents:
diff changeset
61 name of your gene list or annotations list file (1
19b20927172d Uploaded
swebb
parents:
diff changeset
62 column)
19b20927172d Uploaded
swebb
parents:
diff changeset
63 -o OUTFILE, --outfile=OUTFILE
19b20927172d Uploaded
swebb
parents:
diff changeset
64 type the name and path of the file you want to write
19b20927172d Uploaded
swebb
parents:
diff changeset
65 the output to. Default is standard output
19b20927172d Uploaded
swebb
parents:
diff changeset
66 -a ATTRIBUTE, --attribute=ATTRIBUTE
19b20927172d Uploaded
swebb
parents:
diff changeset
67 from which attribute do you want to extract names?
19b20927172d Uploaded
swebb
parents:
diff changeset
68 Choices: gene_name, gene_id, transcript_name,
19b20927172d Uploaded
swebb
parents:
diff changeset
69 transcript_id
19b20927172d Uploaded
swebb
parents:
diff changeset
70 -v
19b20927172d Uploaded
swebb
parents:
diff changeset
71 similar to grep -v option. Remove the genes from the
19b20927172d Uploaded
swebb
parents:
diff changeset
72 GTF that are in the gene list
19b20927172d Uploaded
swebb
parents:
diff changeset
73
19b20927172d Uploaded
swebb
parents:
diff changeset
74
19b20927172d Uploaded
swebb
parents:
diff changeset
75
19b20927172d Uploaded
swebb
parents:
diff changeset
76 </help>
19b20927172d Uploaded
swebb
parents:
diff changeset
77 </tool>