annotate getfastaBed.xml @ 0:b8348686a0b9 draft

Imported from capsule None
author iuc
date Tue, 04 Nov 2014 01:45:04 -0500
parents
children 82aac94b06c3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
1 <tool id="bedtools_getfastabed" name="GetFastaBed" version="@WRAPPER_VERSION@.0">
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
2 <description></description>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
3 <macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
4 <import>macros.xml</import>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
5 </macros>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
6 <expand macro="requirements" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
7 <expand macro="stdio" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
8 <command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
9 bedtools getfasta
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
10 $name
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
11 $tab
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
12 $strand
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
13 $split
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
14 -fi $fasta
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
15 -bed $inputA
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
16 -fo $output
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
17 </command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
18 <inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
19 <param format="bed,vcf,gff,gff3" name="inputA" type="data" label="BED/VCF/GFF file" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
20 <param format="fasta" name="fasta" type="data" label="Fasta file" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
21 <param name="name" type="boolean" checked="false" truevalue="-name" falsevalue="" label="Use the “name” column in the BED file for the FASTA headers in the output FASTA file" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
22 <param name="tab" type="boolean" checked="false" truevalue="-tab" falsevalue="" label="Report extract sequences in a tab-delimited format instead of in FASTA format" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
23 <param name="strand" type="boolean" checked="false" truevalue="-s" falsevalue="" label="Force strandedness" help="If the feature occupies the antisense strand, the sequence will be reverse complemented." />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
24 <param name="split" type="boolean" checked="false" truevalue="-split" falsevalue="" label="Given BED12 input, extract and concatenate the sequences from the BED 'blocks' (e.g., exons)" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
25 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
26 <outputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
27 <data format="fasta" name="output" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
28 </outputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
29 <help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
30 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
31
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
32 bedtools getfasta will extract the sequence defined by the coordinates in a BED interval and create a new FASTA entry in the output file for each extracted sequence. By default, the FASTA header for each extracted sequence will be formatted as follows: “&lt;chrom>:&lt;start>-&lt;end>”.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
33
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
34 .. image:: $PATH_TO_IMAGES/getfasta-glyph.png
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
35
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
36 .. class:: warningmark
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
37
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
38 1. The headers in the input FASTA file must exactly match the chromosome column in the BED file.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
39
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
40 2. You can use the UNIX fold command to set the line width of the FASTA output. For example, fold -w 60 will make each line of the FASTA file have at most 60 nucleotides for easy viewing.
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
41
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
42 @REFERENCES@
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
43 </help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
44 <expand macro="citations" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
45 </tool>