Mercurial > repos > iuc > rna_starsolo
annotate macros.xml @ 0:e3c94e2933c9 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
author | iuc |
---|---|
date | Thu, 15 Aug 2019 01:53:49 -0400 |
parents | |
children | e613048778d9 |
rev | line source |
---|---|
0
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
1 <macros> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
2 <!-- REMEMBER to bump the version of rna_star_index_builder_data_manager |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
3 whenever you make changes to the following two version tokens! |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
4 The data manager uses a symlink to this macro file to keep the versions in |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
5 sync. --> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
6 <!-- STAR version to be used --> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
7 <token name="@VERSION@">2.7.2a</token> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
8 <!-- STAR index version compatible with this version of STAR |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
9 This is the STAR version that introduced the index structure expected |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
10 by the current version. |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
11 It can be found for any specific version of STAR with: |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
12 STAR -h | grep versionGenome |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
13 or by looking for the versionGenome parameter in source/parametersDefault |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
14 of STAR's source code --> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
15 <token name="@IDX_VERSION@">2.7.1a</token> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
16 |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
17 <xml name="requirements"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
18 <requirements> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
19 <requirement type="package" version="@VERSION@">star</requirement> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
20 <requirement type="package" version="1.9">samtools</requirement> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
21 </requirements> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
22 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
23 |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
24 <xml name="index_selection" token_with_gene_model="1"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
25 <param argument="--genomeDir" name="genomeDir" type="select" |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
26 label="Select reference genome" |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
27 help="If your genome of interest is not listed, contact the Galaxy team"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
28 <options from_data_table="rnastar_index2_versioned"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
29 <filter type="static_value" column="4" value="@WITH_GENE_MODEL@" /> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
30 <filter type="static_value" column="5" value="@IDX_VERSION@" /> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
31 <filter type="sort_by" column="2" /> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
32 <validator type="no_options" message="No indexes are available for the selected input dataset" /> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
33 </options> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
34 </param> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
35 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
36 |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
37 <token name="@FASTQ_GZ_OPTION@"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
38 --readFilesCommand zcat |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
39 </token> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
40 <xml name="citations"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
41 <citations> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
42 <citation type="doi">10.1093/bioinformatics/bts635</citation> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
43 </citations> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
44 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
45 <xml name="@SJDBOPTIONS@" token_optional="true"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
46 <param argument="--sjdbGTFfile" type="data" format="gff3,gtf" label="Gene model (gff3,gtf) file for splice junctions" optional="@OPTIONAL@" help="Exon junction information for mapping splices"/> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
47 <param argument="--sjdbOverhang" type="integer" min="1" value="100" label="Length of the genomic sequence around annotated junctions" help="Used in constructing the splice junctions database. Ideal value is ReadLength-1"/> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
48 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
49 <xml name="dbKeyActions"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
50 <actions> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
51 <conditional name="refGenomeSource.geneSource"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
52 <when value="indexed"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
53 <action type="metadata" name="dbkey"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
54 <option type="from_data_table" name="rnastar_index2_versioned" column="1" offset="0"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
55 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
56 <filter type="param_value" ref="refGenomeSource.GTFconditional.genomeDir" column="0"/> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
57 </option> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
58 </action> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
59 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
60 <when value="history"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
61 <action type="metadata" name="dbkey"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
62 <option type="from_param" name="refGenomeSource.genomeFastaFiles" param_attribute="dbkey" /> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
63 </action> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
64 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
65 </conditional> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
66 </actions> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
67 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
68 <token name="@TEMPINDEX@"><![CDATA[ |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
69 ## Create temporary index for custom reference |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
70 #if str($refGenomeSource.geneSource) == 'history': |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
71 mkdir -p tempstargenomedir && |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
72 STAR |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
73 --runMode genomeGenerate |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
74 --genomeDir 'tempstargenomedir' |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
75 --genomeFastaFiles '${refGenomeSource.genomeFastaFiles}' |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
76 ## Handle difference between indices with/without annotations |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
77 #if str($refGenomeSource.GTFconditional.GTFselect) == 'with-gtf': |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
78 --sjdbOverhang '${refGenomeSource.GTFconditional.sjdbOverhang}' |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
79 --sjdbGTFfile '${refGenomeSource.GTFconditional.sjdbGTFfile}' |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
80 #if str($refGenomeSource.GTFconditional.sjdbGTFfile.ext) == 'gff3': |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
81 --sjdbGTFtagExonParentTranscript Parent |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
82 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
83 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
84 #if str($refGenomeSource.genomeSAindexNbases): |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
85 --genomeSAindexNbases ${refGenomeSource.genomeSAindexNbases} |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
86 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
87 --runThreadN \${GALAXY_SLOTS:-4} |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
88 && |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
89 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
90 ]]></token> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
91 <token name="@REFGENOMEHANDLING" ><![CDATA[ |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
92 --runThreadN \${GALAXY_SLOTS:-4} |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
93 --genomeLoad NoSharedMemory |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
94 --genomeDir |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
95 #if str($refGenomeSource.geneSource) == 'history': |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
96 tempstargenomedir |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
97 #else: |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
98 '${refGenomeSource.GTFconditional.genomeDir.fields.path}' |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
99 ## Handle difference between indices with/without annotations |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
100 #if str($refGenomeSource.GTFconditional.GTFselect) == 'with-gtf': |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
101 #if $refGenomeSource.GTFconditional.sjdbGTFfile: |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
102 --sjdbOverhang $refGenomeSource.GTFconditional.sjdbOverhang |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
103 --sjdbGTFfile '${refGenomeSource.GTFconditional.sjdbGTFfile}' |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
104 #if str($refGenomeSource.GTFconditional.sjdbGTFfile.ext) == 'gff3': |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
105 --sjdbGTFtagExonParentTranscript Parent |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
106 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
107 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
108 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
109 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
110 ]]></token> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
111 <xml name="stdio" > |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
112 <stdio> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
113 <regex match="FATAL error" source="both" level="fatal"/> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
114 <regex match="EXITING: FATAL INPUT ERROR:" source="both" level="fatal"/> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
115 <regex match="EXITING: fatal error trying to allocate genome arrays, exception thrown: std::bad_alloc" source="both" level="fatal"/> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
116 <regex match="\[sam_read1\] missing header\? Abort!" source="both" level="fatal"/> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
117 </stdio> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
118 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
119 <xml name="refgenomehandling" > |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
120 <conditional name="refGenomeSource"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
121 <param name="geneSource" type="select" label="Custom or built-in reference genome" help="Built-ins were indexed using default options"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
122 <option value="indexed" selected="true">Use a built-in index</option> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
123 <option value="history">Use reference genome from history and create temporary index</option> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
124 </param> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
125 <when value="indexed"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
126 <conditional name="GTFconditional"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
127 <param name="GTFselect" type="select" |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
128 label="Reference genome with or without an annotation" |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
129 help="Select the '... with builtin gene-model' option to select from the list of available indexes that were built with splice junction information. Select the '... without builtin gene-model' option to select from the list of available indexes without annotated splice junctions."> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
130 <option value="without-gtf">use genome reference with builtin gene-model</option> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
131 <option value="with-gtf">use genome reference without builtin gene-model</option> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
132 </param> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
133 <when value="with-gtf"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
134 <expand macro="index_selection" with_gene_model="0" /> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
135 <expand macro="@SJDBOPTIONS@" /> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
136 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
137 <when value="without-gtf"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
138 <expand macro="index_selection" with_gene_model="1" /> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
139 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
140 </conditional> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
141 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
142 <when value="history"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
143 <param argument="--genomeFastaFiles" type="data" format="fasta" label="Select a reference genome" /> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
144 <!-- Currently, this parameter is not exposed in the wrapper, |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
145 but used only in the tests to avoid excessive index sizes for |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
146 the tiny test genomes. --> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
147 <param name="genomeSAindexNbases" type="hidden" value="" /> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
148 <conditional name="GTFconditional"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
149 <param name="GTFselect" type="select" |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
150 label="Build index with our without known splice junctions annotation" |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
151 help="To build an index with known splice junctions annotated, you will have to provide a GTF or GFF3 dataset that describes the gene models (the location of genes, transcripts and exons) known for the reference genome."> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
152 <option value="without-gtf">build index without gene-model</option> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
153 <option value="with-gtf">build index with gene-model</option> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
154 </param> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
155 <when value="with-gtf"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
156 <expand macro="@SJDBOPTIONS@" optional="false"/> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
157 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
158 <when value="without-gtf" /> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
159 </conditional> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
160 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
161 </conditional> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
162 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
163 </macros> |