Mercurial > repos > iuc > flair
comparison flair_correct.xml @ 0:5d17cf201540 draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit b80808c3c53775c3f323581efb44d124d6e8bd1a"
author | iuc |
---|---|
date | Fri, 27 Nov 2020 18:45:47 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5d17cf201540 |
---|---|
1 <tool id="flair_correct" name="FLAIR correct" version="@TOOL_VERSION@" profile="20.01"> | |
2 <description>corrects misaligned splice sites using genome annotations</description> | |
3 | |
4 <macros> | |
5 <import>flair_macros.xml</import> | |
6 </macros> | |
7 | |
8 <expand macro="requirements" /> | |
9 <expand macro="version_command" /> | |
10 | |
11 <command detect_errors="exit_code"><![CDATA[ | |
12 | |
13 @PREPARE_REF@ | |
14 | |
15 flair.py correct | |
16 | |
17 ########### | |
18 ## Input ## | |
19 ########### | |
20 | |
21 -q '$input_query' | |
22 -g reference.fa | |
23 -f '$input_gtf' | |
24 | |
25 #if $input_shortread: | |
26 -j '$input_shortread' | |
27 #end if | |
28 | |
29 ######################## | |
30 ## Additional Options ## | |
31 ######################## | |
32 | |
33 $additional_options.strand | |
34 -w $additional_options.window | |
35 | |
36 ######### | |
37 ## END ## | |
38 ######### | |
39 | |
40 ]]></command> | |
41 <inputs> | |
42 <param name="input_query" argument="-q" type="data" format="bed12" label="Uncorrected Bed12 file"/> | |
43 <expand macro="reference_interface" /> | |
44 <param name="input_gtf" argument="-f" type="data" format="gtf" label="GTF annotation file"/> | |
45 <param name="input_shortread" optional="true" argument="-j" type="data" format="bed" label="Splice junction BED file" /> | |
46 | |
47 <!-- Additional Options --> | |
48 <section name="additional_options" title="Additional Options"> | |
49 <param name="strand" argument="-n" type="boolean" checked="false" truevalue="-n" falsevalue="" label="Strand Consistency" help="Keep the strand of a read consistent after correction."/> | |
50 <param name="window" argument="-w" type="integer" min="1" value="10" label="Window Size" help="Window size for correcting splice sites (Default=10)" /> | |
51 </section> | |
52 </inputs> | |
53 | |
54 | |
55 <outputs> | |
56 <data name="outfile_1" format="bed12" from_work_dir="flair_all_corrected.bed" label="${tool.name} on ${on_string}: Corrected Reads" /> | |
57 <data name="outfile_2" format="bed12" from_work_dir="flair_all_inconsistent.bed" label="${tool.name} on ${on_string}: Inconsistent Reads" /> | |
58 </outputs> | |
59 | |
60 <tests> | |
61 <test expect_num_outputs="2"> | |
62 <param name="input_query" ftype="bed12" value="chrM.bed12" /> | |
63 <param name="ref_selector_genome" value="history" /> | |
64 <param name="reffile" ftype="fasta" value="chrM.fa" /> | |
65 <param name="input_gtf" ftype="gtf" value="UCSC_Main_on_Human_knownGene_region_chrM.gtf" /> | |
66 <output name="outfile_1" ftype="bed12" file="flair_all_corrected.bed" /> | |
67 <output name="outfile_2" ftype="bed12" file="flair_all_inconsistent.bed" /> | |
68 </test> | |
69 <!-- Test with cached genome --> | |
70 <test expect_num_outputs="2"> | |
71 <param name="input_query" ftype="bed12" value="chrM.bed12" /> | |
72 <param name="ref_selector_genome" value="cached" /> | |
73 <param name="reffile" value="chrM" /> | |
74 <param name="input_gtf" ftype="gtf" value="UCSC_Main_on_Human_knownGene_region_chrM.gtf" /> | |
75 <output name="outfile_1" ftype="bed12" file="flair_all_corrected.bed" /> | |
76 <output name="outfile_2" ftype="bed12" file="flair_all_inconsistent.bed" /> | |
77 </test> | |
78 </tests> | |
79 | |
80 <help><![CDATA[ | |
81 | |
82 .. class:: infomark | |
83 | |
84 **What it does** | |
85 | |
86 ------------------- | |
87 | |
88 @description@ | |
89 | |
90 **flair correct** | |
91 Corrects misaligned splice sites using genome annotations and/or short-read splice junctions. Based on common user issues we have encountered, for flair-correct to run properly, please ensure/note that (1) the genome annotation and genome sequences are compatible, (2) gtf is preferred over gff for annotation and annotations that do not split single exons into multiple entries are ideal. | |
92 | |
93 ------------------- | |
94 | |
95 **Inputs** | |
96 | |
97 ------------------- | |
98 | |
99 (1) Uncorreced bed12 file. | |
100 (2) FASTA file of the reference genome. | |
101 (3) GTF annotation file. | |
102 (4) BED format splice junctions from short-read sequencing or GTF annotation file. | |
103 | |
104 ----------- | |
105 | |
106 **Outputs** | |
107 | |
108 ----------- | |
109 | |
110 (1) bed12 of corrected reads, | |
111 (2) bed12 of reads that weren't able to be corrected, | |
112 (3) psl of corrected reads if the -c chromsizes file is provided. | |
113 | |
114 Either (1) or (3) can be supplied to flair-collapse as the query. | |
115 | |
116 -------------------- | |
117 | |
118 **More Information** | |
119 | |
120 -------------------- | |
121 | |
122 See the excellent `FLAIR documentation`_ | |
123 | |
124 .. _`FLAIR documentation`: https://github.com/BrooksLabUCSC/flair | |
125 | |
126 | |
127 -------------------- | |
128 | |
129 **Galaxy Wrapper Development** | |
130 | |
131 -------------------- | |
132 | |
133 @citation@ | |
134 | |
135 ]]></help> | |
136 <expand macro="citations" /> | |
137 </tool> |