Mercurial > repos > iuc > rna_starsolo
annotate macros.xml @ 6:178bdbdb6d24 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
author | iuc |
---|---|
date | Thu, 28 Nov 2019 15:55:47 -0500 |
parents | 61cb2042581a |
children | e403d27e8f24 |
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! |
6
178bdbdb6d24
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents:
3
diff
changeset
|
4 The data manager uses a symlink to this macro file to keep the STAR and |
178bdbdb6d24
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents:
3
diff
changeset
|
5 the index versions in sync, but you should manually adjust the +galaxy |
178bdbdb6d24
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents:
3
diff
changeset
|
6 version number. --> |
0
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
7 <!-- STAR version to be used --> |
3
61cb2042581a
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 968dcb9c347b8419fd4fa62f29e036269c6f8a28"
iuc
parents:
2
diff
changeset
|
8 <token name="@VERSION@">2.7.2b</token> |
0
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
9 <!-- 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
|
10 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
|
11 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
|
12 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
|
13 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
|
14 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
|
15 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
|
16 <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
|
17 |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
18 <xml name="requirements"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
19 <requirements> |
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="@VERSION@">star</requirement> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
21 <requirement type="package" version="1.9">samtools</requirement> |
6
178bdbdb6d24
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents:
3
diff
changeset
|
22 <yield /> |
0
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
23 </requirements> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
24 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
25 |
1
e613048778d9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 2911002ccd79fe062f6346ee5699ea262f92f04f"
iuc
parents:
0
diff
changeset
|
26 <xml name="index_selection" token_with_gene_model="0"> |
0
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
27 <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
|
28 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
|
29 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
|
30 <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
|
31 <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
|
32 <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
|
33 <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
|
34 <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
|
35 </options> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
36 </param> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
37 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
38 |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
39 <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
|
40 --readFilesCommand zcat |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
41 </token> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
42 <xml name="citations"> |
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 <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
|
45 </citations> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
46 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
47 <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
|
48 <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
|
49 <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
|
50 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
51 <xml name="dbKeyActions"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
52 <actions> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
53 <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
|
54 <when value="indexed"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
55 <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
|
56 <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
|
57 <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
|
58 <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
|
59 </option> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
60 </action> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
61 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
62 <when value="history"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
63 <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
|
64 <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
|
65 </action> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
66 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
67 </conditional> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
68 </actions> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
69 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
70 <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
|
71 ## 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
|
72 #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
|
73 mkdir -p tempstargenomedir && |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
74 STAR |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
75 --runMode genomeGenerate |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
76 --genomeDir 'tempstargenomedir' |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
77 --genomeFastaFiles '${refGenomeSource.genomeFastaFiles}' |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
78 ## 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
|
79 #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
|
80 --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
|
81 --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
|
82 #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
|
83 --sjdbGTFtagExonParentTranscript Parent |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
84 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
85 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
86 #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
|
87 --genomeSAindexNbases ${refGenomeSource.genomeSAindexNbases} |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
88 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
89 --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
|
90 && |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
91 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
92 ]]></token> |
2
3a1253ee137b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ce3f681beac515bc20661e790c2b326077f853ba"
iuc
parents:
1
diff
changeset
|
93 <token name="@REFGENOMEHANDLING@" ><![CDATA[ |
0
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
94 --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
|
95 --genomeLoad NoSharedMemory |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
96 --genomeDir |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
97 #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
|
98 tempstargenomedir |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
99 #else: |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
100 '${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
|
101 ## Handle difference between indices with/without annotations |
2
3a1253ee137b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ce3f681beac515bc20661e790c2b326077f853ba"
iuc
parents:
1
diff
changeset
|
102 #if str($refGenomeSource.GTFconditional.GTFselect) == 'without-gtf': |
0
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
103 #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
|
104 --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
|
105 --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
|
106 #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
|
107 --sjdbGTFtagExonParentTranscript Parent |
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 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
111 #end if |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
112 ]]></token> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
113 <xml name="stdio" > |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
114 <stdio> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
115 <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
|
116 <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
|
117 <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
|
118 <regex match="\[sam_read1\] missing header\? Abort!" source="both" level="fatal"/> |
2
3a1253ee137b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ce3f681beac515bc20661e790c2b326077f853ba"
iuc
parents:
1
diff
changeset
|
119 <yield /> |
0
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
120 </stdio> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
121 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
122 <xml name="refgenomehandling" > |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
123 <conditional name="refGenomeSource"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
124 <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
|
125 <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
|
126 <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
|
127 </param> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
128 <when value="indexed"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
129 <conditional name="GTFconditional"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
130 <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
|
131 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
|
132 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."> |
1
e613048778d9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 2911002ccd79fe062f6346ee5699ea262f92f04f"
iuc
parents:
0
diff
changeset
|
133 <option value="without-gtf" selected='true'>use genome reference without builtin gene-model</option> |
e613048778d9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 2911002ccd79fe062f6346ee5699ea262f92f04f"
iuc
parents:
0
diff
changeset
|
134 <option value="with-gtf">use genome reference with builtin gene-model</option> |
0
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
135 </param> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
136 <when value="with-gtf"> |
1
e613048778d9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 2911002ccd79fe062f6346ee5699ea262f92f04f"
iuc
parents:
0
diff
changeset
|
137 <expand macro="index_selection" with_gene_model="1" /> |
0
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
138 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
139 <when value="without-gtf"> |
1
e613048778d9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 2911002ccd79fe062f6346ee5699ea262f92f04f"
iuc
parents:
0
diff
changeset
|
140 <expand macro="index_selection" with_gene_model="0" /> |
2
3a1253ee137b
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit ce3f681beac515bc20661e790c2b326077f853ba"
iuc
parents:
1
diff
changeset
|
141 <expand macro="@SJDBOPTIONS@" /> |
0
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
142 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
143 </conditional> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
144 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
145 <when value="history"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
146 <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
|
147 <!-- 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
|
148 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
|
149 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
|
150 <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
|
151 <conditional name="GTFconditional"> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
152 <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
|
153 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
|
154 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
|
155 <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
|
156 <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
|
157 </param> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
158 <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
|
159 <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
|
160 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
161 <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
|
162 </conditional> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
163 </when> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
164 </conditional> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
165 </xml> |
e3c94e2933c9
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/rgrnastar commit 686574b0392e554b75035a9b79bc919dfda9ab97"
iuc
parents:
diff
changeset
|
166 </macros> |