annotate translate_bed_sequences.xml @ 2:4221664a2bd0 draft default tip

"planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 2a470e2c775a7427aa530e058510e4dc7b6d8e80"
author galaxyp
date Tue, 07 Apr 2020 11:45:53 -0400
parents 6bbce76c78c1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
4221664a2bd0 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 2a470e2c775a7427aa530e058510e4dc7b6d8e80"
galaxyp
parents: 1
diff changeset
1 <tool id="translate_bed_sequences" name="Translate BED Sequences" version="0.2.0">
1
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
2 <description>3 frame translation of BED augmented with a sequence column</description>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
3 <requirements>
2
4221664a2bd0 "planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 2a470e2c775a7427aa530e058510e4dc7b6d8e80"
galaxyp
parents: 1
diff changeset
4 <requirement type="package" version="1.76">biopython</requirement>
1
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
5 </requirements>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
6 <stdio>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
7 <exit_code range="1:" level="fatal" description="Error" />
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
8 </stdio>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
9 <command>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
10 python '$__tool_directory__/translate_bed_sequences.py'
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
11 --input '$input'
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
12 #if $fa_db:
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
13 --fa_db='$fa_db'
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
14 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
15 #if $fa_sep:
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
16 --fa_sep='$fa_sep'
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
17 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
18 #if $id_prefix:
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
19 --id_prefix='$id_prefix'
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
20 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
21 #if $reference:
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
22 --reference $reference
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
23 #else:
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
24 --reference ${input.metadata.dbkey}
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
25 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
26 #if $refsource:
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
27 --refsource $refsource
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
28 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
29 #if $seqtype:
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
30 --seqtype $seqtype
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
31 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
32 #if $score_name:
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
33 --score_name $score_name
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
34 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
35 #if $filter.filterseqs == 'yes':
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
36 #if $filter.leading_bp:
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
37 --leading_bp $filter.leading_bp
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
38 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
39 #if $filter.trailing_bp:
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
40 --trailing_bp $filter.trailing_bp
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
41 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
42 #else:
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
43 --unfiltered
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
44 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
45 #if $trim.trimseqs == 'no':
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
46 --untrimmed
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
47 #if str($trim.max_stop_codons) != '':
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
48 --max_stop_codons $trim.max_stop_codons
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
49 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
50 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
51 #if str($min_length) != '':
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
52 --min_length $min_length
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
53 #end if
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
54 --bed $translated_bed
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
55 --output '$output'
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
56 </command>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
57 <inputs>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
58 <param name="input" type="data" format="bed" label="BED file with added sequence column"
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
59 help="Output from 'Extract Genomic DNA' run on tophat junctions.bed "/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
60 <param name="fa_db" type="text" value="" optional="true" label="fasta ID source, e.g. generic"
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
61 help="Any Compomics application such as PeptideShaker, requires a source">
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
62 </param>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
63 <param name="fa_sep" type="text" value="" optional="true" label="fasta ID line separator character"
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
64 help="Only used when a fasta ID source is given, defaults to the pipe character">
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
65 </param>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
66 <param name="id_prefix" type="text" value="" optional="true" label="ID prefix for generated IDs"
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
67 help="Can be used to distinguish samples">
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
68 <validator type="regex" message="Allowed chars:a-z A-Z 0-9 _ - |">^[a-zA-Z0-9_-|]*$</validator>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
69 </param>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
70 <param name="refsource" type="text" value="Ensembl" optional="true" label="Genome reference source"
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
71 help=""/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
72 <param name="reference" type="text" value="" optional="true" label="Genome reference name"
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
73 help="By default, the database metadata will be used."/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
74 <param name="seqtype" type="text" value="" optional="true" label="The SEQTYPE:STATUS to include in the fasta ID lines"
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
75 help="For example: pep:splice"/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
76 <param name="score_name" type="text" value="" optional="true" label="Add the bed score field fasta ID line with this tag name"
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
77 help="For example: with the tag name 'depth' and bed score 12: depth:12"/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
78 <conditional name="filter">
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
79 <param name="filterseqs" type="select" label="Filter out translations with stop codons before the splice site">
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
80 <option value="yes" selected="true">Yes</option>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
81 <option value="no">No</option>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
82 </param>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
83 <when value="yes">
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
84 <param name="leading_bp" type="integer" value="" min="0" optional="true" label="Stop codon filtering start position base pairs"
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
85 help="Do not reject translation is stop_codons are within base pairs of the BED start position for positive strand"/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
86 <param name="trailing_bp" type="integer" value="" min="0" optional="true" label="Stop codon filtering end position base pairs"
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
87 help="Do not reject translation is stop_codons are within base pairs of the BED end position for negative strand"/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
88 </when>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
89 <when value="no"/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
90 </conditional>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
91 <conditional name="trim">
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
92 <param name="trimseqs" type="select" label="Trim translations to stop codons">
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
93 <option value="yes" selected="true">Yes</option>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
94 <option value="no">No</option>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
95 </param>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
96 <when value="no">
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
97 <param name="max_stop_codons" type="integer" value="" min="0" optional="true" label="Maximum number of stop codons allowed in a translation to be reported"/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
98 </when>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
99 </conditional>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
100 <param name="min_length" type="integer" value="" min="0" optional="true" label="Minimum length of a translation to be reported"/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
101 </inputs>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
102 <outputs>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
103 <data name="translated_bed" metadata_source="input" format="bed" label="${tool.name} on ${on_string} bed" />
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
104 <data name="output" metadata_source="input" format="fasta" label="${tool.name} on ${on_string} fasta" />
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
105 </outputs>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
106 <tests>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
107 <test>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
108 <param name="input" value="Extract_Genomic_DNA.bed" ftype="bed" dbkey="hg19"/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
109 <param name="reference" value="GRCh37"/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
110 <param name="seqtype" value="pep:novel"/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
111 <param name="score_name" value="depth"/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
112 <output name="output" file="translated_bed_sequences.fa"/>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
113 </test>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
114 </tests>
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
115 <help>
0
d723eb657f1d planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit e04ed4b4960d6109a85c1cc68a2bf4931c8751ef-dirty
galaxyp
parents:
diff changeset
116 **Translate BED Sequences**
d723eb657f1d planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit e04ed4b4960d6109a85c1cc68a2bf4931c8751ef-dirty
galaxyp
parents:
diff changeset
117
d723eb657f1d planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit e04ed4b4960d6109a85c1cc68a2bf4931c8751ef-dirty
galaxyp
parents:
diff changeset
118 This tool takes a BED input file that has been processed
d723eb657f1d planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit e04ed4b4960d6109a85c1cc68a2bf4931c8751ef-dirty
galaxyp
parents:
diff changeset
119 by the Galaxy tool "Extract Genomic DNA" to add a 13th column with the transcript sequence.
d723eb657f1d planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit e04ed4b4960d6109a85c1cc68a2bf4931c8751ef-dirty
galaxyp
parents:
diff changeset
120
d723eb657f1d planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit e04ed4b4960d6109a85c1cc68a2bf4931c8751ef-dirty
galaxyp
parents:
diff changeset
121 It generates a peptide fasta file with the 3-frame translations of the spliced sequence
d723eb657f1d planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit e04ed4b4960d6109a85c1cc68a2bf4931c8751ef-dirty
galaxyp
parents:
diff changeset
122 defined by each entry in the input BED file.
d723eb657f1d planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit e04ed4b4960d6109a85c1cc68a2bf4931c8751ef-dirty
galaxyp
parents:
diff changeset
123
1
6bbce76c78c1 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit 7025b29e8113049e5f21389ce67858c18af6611b
galaxyp
parents: 0
diff changeset
124 </help>
0
d723eb657f1d planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/translate_bed_sequences commit e04ed4b4960d6109a85c1cc68a2bf4931c8751ef-dirty
galaxyp
parents:
diff changeset
125 </tool>