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