Mercurial > repos > iuc > flair_collapse
annotate flair_macros.xml @ 2:1fdcbfcca71c draft default tip
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 116d8aa50dda2eb771b71fa5e3ed8f0f35e2821c"
author | iuc |
---|---|
date | Sat, 27 Nov 2021 09:37:51 +0000 |
parents | 03b7b7811ea6 |
children |
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': |
1
03b7b7811ea6
"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 |
03b7b7811ea6
"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
57dc46adf2da
"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 && |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
19 #else |
1
03b7b7811ea6
"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 |
03b7b7811ea6
"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 |
03b7b7811ea6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
iuc
parents:
0
diff
changeset
|
22 #end if |
03b7b7811ea6
"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"): |
03b7b7811ea6
"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 && |
03b7b7811ea6
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit 41f4293e4db957a23f3be9ff76874a8619e803a2"
iuc
parents:
0
diff
changeset
|
25 #else: |
03b7b7811ea6
"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
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
27 #end if |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
28 ]]></token> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
29 |
57dc46adf2da
"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"> |
57dc46adf2da
"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"> |
57dc46adf2da
"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"> |
57dc46adf2da
"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> |
57dc46adf2da
"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> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
35 </param> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
36 <when value="cached"> |
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="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
|
38 <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
|
39 <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
|
40 </options> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
41 </param> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
42 </when> |
57dc46adf2da
"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
03b7b7811ea6
"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
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
45 </when> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
46 </conditional> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
47 </xml> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
48 |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
49 <token name="@description@"> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
50 |
57dc46adf2da
"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. |
57dc46adf2da
"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). |
57dc46adf2da
"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. |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
54 |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
55 </token> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
56 |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
57 <token name="@citation@"> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
58 |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
59 Author: Florian Heyl |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
60 |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
61 </token> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
62 <xml name="citations"> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
63 <citations> |
57dc46adf2da
"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> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
65 </citations> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
66 </xml> |
57dc46adf2da
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/flair commit e6e3295a4e0168d80b7966684bc21d2863bed108"
iuc
parents:
diff
changeset
|
67 </macros> |