annotate getfastaBed.xml @ 7:8e6b7c3597a8 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 964b3159deeade1c90d20cef92dc15a14195edb7
author iuc
date Mon, 18 Jul 2016 14:06:15 -0400
parents 607c0576c6ab
children c78cf6fe3018
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">
4
607c0576c6ab planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/bedtools commit 6692e3a4fa1bf6e9a407735afdbb2454ed32b316
iuc
parents: 1
diff changeset
2 <description>use intervals to extract sequences from a FASTA file</description>
0
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>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
9 <![CDATA[
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
10 bedtools getfasta
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
11 $name
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
12 $tab
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
13 $strand
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
14 $split
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
15 -fi $fasta
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
16 -bed $input
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
17 -fo $output
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
18 ]]>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
19 </command>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
20 <inputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
21 <param format="bed,vcf,gff,gff3" name="input" type="data" label="BED/VCF/GFF file" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
22 <param format="fasta" name="fasta" type="data" label="Fasta file" />
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
23 <param name="name" type="boolean" checked="false" truevalue="-name" falsevalue=""
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
24 label="Use the 'name' column in the BED file for the FASTA headers in the output FASTA file"
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
25 help="(-name)" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
26 <param name="tab" type="boolean" checked="false" truevalue="-tab" falsevalue=""
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
27 label="Report extract sequences in a tab-delimited format instead of in FASTA format"
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
28 help="(-tab)" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
29 <param name="strand" type="boolean" checked="false" truevalue="-s" falsevalue=""
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
30 label="Force strandedness"
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
31 help="If the feature occupies the antisense strand, the sequence will be reverse complemented. (-s)" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
32 <expand macro="split" />
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
33 </inputs>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
34 <outputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
35 <data format="fasta" name="output">
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
36 <change_format>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
37 <when input="tab" value="-tab" format="tabular" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
38 </change_format>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
39 </data>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
40 </outputs>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
41 <tests>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
42 <test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
43 <param name="input" value="nucBed1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
44 <param name="fasta" value="nucBed1.fasta" ftype="fasta" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
45 <param name="tab" value="False" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
46 <param name="split" value="False" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
47 <output name="output" file="getfastaBed_result1.bed" ftype="fasta" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
48 </test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
49 <test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
50 <param name="input" value="nucBed1.bed" ftype="bed" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
51 <param name="fasta" value="nucBed1.fasta" ftype="fasta" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
52 <param name="tab" value="True" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
53 <param name="split" value="False" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
54 <output name="output" file="getfastaBed_result2.tabular" ftype="tabular" />
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
55 </test>
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
56 </tests>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
57 <help>
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
58 <![CDATA[
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
59 **What it does**
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
60
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
61 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: “>chrom>:&lt;start>-&lt;end>”.
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
62
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
63 .. image:: $PATH_TO_IMAGES/getfasta-glyph.png
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
64
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
65 .. class:: warningmark
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
66
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
67 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
68
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
69 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
70
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
71 @REFERENCES@
1
82aac94b06c3 Uploaded
iuc
parents: 0
diff changeset
72 ]]>
0
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
73 </help>
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
74 <expand macro="citations" />
b8348686a0b9 Imported from capsule None
iuc
parents:
diff changeset
75 </tool>