annotate flair_macros.xml @ 0:57dc46adf2da draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
author iuc
date Fri, 27 Nov 2020 21:56:08 +0000
parents
children 03b7b7811ea6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
1 <macros>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
2 <token name="@TOOL_VERSION@">1.5</token>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
3 <xml name="requirements">
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
4 <requirements>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
5 <requirement type="package" version="@TOOL_VERSION@">flair</requirement>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
6 <yield />
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
7 </requirements>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
8 </xml>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
9
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
10 <xml name="version_command">
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
11 <version_command>flair.py --version</version_command>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
12 </xml>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
13
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
14 <token name="@PREPARE_REF@"><![CDATA[
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
15 #if str($reference_source_genome.ref_selector_genome) == 'history':
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
16 ln -s '$reference_source_genome.reffile' reference.fa &&
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
17 samtools faidx 'reference.fa' 2>&1 || echo "Error running samtools faidx for indexing fasta reference for flair" >&2 &&
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
18 #else
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
19 ln -s '${reference_source_genome.reffile.fields.path}' reference.fa &&
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
20 #end if
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
21 ]]></token>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
22
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
23 <xml name="reference_interface">
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
24 <conditional name="reference_source_genome">
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
25 <param name="ref_selector_genome" type="select" label="Choose the source for the reference genome">
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
26 <option value="cached">Locally cached</option>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
27 <option value="history">History</option>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
28 </param>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
29 <when value="cached">
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
30 <param name="reffile" argument="-g" type="select" label="Reference genome">
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
31 <options from_data_table="fasta_indexes">
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
32 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file" />
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
33 </options>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
34 </param>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
35 </when>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
36 <when value="history">
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
37 <param name="reffile" argument="-g" type="data" format="fasta" label="Reference" help="Reference sequence" />
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
38 </when>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
39 </conditional>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
40 </xml>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
41
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
42 <token name="@description@">
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
43
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
44 **FLAIR** FLAIR (Full-Length Alternative Isoform analysis of RNA) for the correction, isoform definition, and alternative splicing analysis of noisy reads. FLAIR has primarily been used for nanopore cDNA, native RNA, and PacBio sequencing reads.
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
45 FLAIR can be run optionally with short-read data to help increase splice site accuracy of the long read splice junctions. FLAIR uses multiple alignment steps and splice site filters to increase confidence in the set of isoforms defined from noisy data. FLAIR was designed to be able to sense subtle splicing changes in nanopore data from Tang et al. (2018).
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
46 It is recommended to combine all samples together prior to running flair-collapse for isoform assembly by concatenating corrected read psl or bed files together. Following the creation of an isoform reference from flair-collapse, consequent steps will assign reads from each sample individually to isoforms of the combined assembly for downstream analyses.
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
47
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
48 </token>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
49
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
50 <token name="@citation@">
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
51
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
52 Author: Florian Heyl
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
53
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
54 </token>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
55 <xml name="citations">
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
56 <citations>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
57 <citation type="doi">10.1038/s41467-020-15171-6</citation>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
58 </citations>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
59 </xml>
57dc46adf2da "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff changeset
60 </macros>