Mercurial > repos > iuc > flair_correct
annotate flair_macros.xml @ 1:c784170f3b5e draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
author | iuc |
---|---|
date | Fri, 09 Apr 2021 21:15:31 +0000 |
parents | 6927379c9ede |
children |
rev | line source |
---|---|
0
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
1 <macros> |
6927379c9ede
"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> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
3 <xml name="requirements"> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
4 <requirements> |
6927379c9ede
"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> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
6 <yield /> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
7 </requirements> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
8 </xml> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
9 |
6927379c9ede
"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"> |
6927379c9ede
"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> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
12 </xml> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
13 |
6927379c9ede
"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[ |
6927379c9ede
"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': |
1
c784170f3b5e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
iuc
parents:
0
diff
changeset
|
16 #set reference = $reference_source_genome.reffile |
c784170f3b5e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
iuc
parents:
0
diff
changeset
|
17 #set ext = $reference.ext |
0
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
18 samtools faidx 'reference.fa' 2>&1 || echo "Error running samtools faidx for indexing fasta reference for flair" >&2 && |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
19 #else |
1
c784170f3b5e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
iuc
parents:
0
diff
changeset
|
20 #set reference = $reference_source_genome.reffile.fields.path |
c784170f3b5e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
iuc
parents:
0
diff
changeset
|
21 #set ext = $reference_source_genome.reffile.fields.path |
c784170f3b5e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
iuc
parents:
0
diff
changeset
|
22 #end if |
c784170f3b5e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
iuc
parents:
0
diff
changeset
|
23 #if $ext.endswith(".gz"): |
c784170f3b5e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
iuc
parents:
0
diff
changeset
|
24 gunzip -c '$reference' > reference.fa && |
c784170f3b5e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
iuc
parents:
0
diff
changeset
|
25 #else: |
c784170f3b5e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
iuc
parents:
0
diff
changeset
|
26 ln -sf '$reference' reference.fa && |
0
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
27 #end if |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
28 ]]></token> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
29 |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
30 <xml name="reference_interface"> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
31 <conditional name="reference_source_genome"> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
32 <param name="ref_selector_genome" type="select" label="Choose the source for the reference genome"> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
33 <option value="cached">Locally cached</option> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
34 <option value="history">History</option> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
35 </param> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
36 <when value="cached"> |
6927379c9ede
"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="select" label="Reference genome"> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
38 <options from_data_table="fasta_indexes"> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
39 <validator type="no_options" message="A built-in reference genome is not available for the build associated with the selected input file" /> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
40 </options> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
41 </param> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
42 </when> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
43 <when value="history"> |
1
c784170f3b5e
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
iuc
parents:
0
diff
changeset
|
44 <param name="reffile" argument="-g" type="data" format="fasta,fasta.gz" label="Reference" help="Reference sequence" /> |
0
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
45 </when> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
46 </conditional> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
47 </xml> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
48 |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
49 <token name="@description@"> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
50 |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
51 **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. |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
52 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). |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
53 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. |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
54 |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
55 </token> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
56 |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
57 <token name="@citation@"> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
58 |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
59 Author: Florian Heyl |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
60 |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
61 </token> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
62 <xml name="citations"> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
63 <citations> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
64 <citation type="doi">10.1038/s41467-020-15171-6</citation> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
65 </citations> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
66 </xml> |
6927379c9ede
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
67 </macros> |