Mercurial > repos > iuc > data_manager_star_index_builder
annotate data_manager/macros.xml @ 8:d3879aceba04 draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 02d2967f77e3fa5a18aea63dc84aa9ab418dc165"
author | iuc |
---|---|
date | Sun, 22 Nov 2020 12:54:19 +0000 |
parents | 6c6c6df09e64 |
children | c520a52b5174 |
rev | line source |
---|---|
1
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
1 <macros> |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
2 <!-- REMEMBER to bump the version of rna_star_index_builder_data_manager |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
3 whenever you make changes to the following two version tokens! |
6
64deddb6a8ec
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents:
5
diff
changeset
|
4 The data manager uses a symlink to this macro file to keep the STAR and |
64deddb6a8ec
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents:
5
diff
changeset
|
5 the index versions in sync, but you should manually adjust the +galaxy |
64deddb6a8ec
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents:
5
diff
changeset
|
6 version number. --> |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
7 <!-- STAR version to be used --> |
7
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
8 <token name="@VERSION@">2.7.5b</token> |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
9 <!-- STAR index version compatible with this version of STAR |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
10 This is the STAR version that introduced the index structure expected |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
11 by the current version. |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
12 It can be found for any specific version of STAR with: |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
13 STAR -h | grep versionGenome |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
14 or by looking for the versionGenome parameter in source/parametersDefault |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
15 of STAR's source code --> |
7
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
16 <token name="@IDX_VERSION@">2.7.4a</token> |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
17 <token name="@IDX_DATA_TABLE@">rnastar_index2x_versioned</token> |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
18 |
1
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
19 <xml name="requirements"> |
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
20 <requirements> |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
21 <requirement type="package" version="@VERSION@">star</requirement> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
22 <requirement type="package" version="1.9">samtools</requirement> |
6
64deddb6a8ec
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents:
5
diff
changeset
|
23 <yield /> |
1
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
24 </requirements> |
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
25 </xml> |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
26 |
6
64deddb6a8ec
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents:
5
diff
changeset
|
27 <xml name="index_selection" token_with_gene_model="0"> |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
28 <param argument="--genomeDir" name="genomeDir" type="select" |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
29 label="Select reference genome" |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
30 help="If your genome of interest is not listed, contact the Galaxy team"> |
7
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
31 <options from_data_table="@IDX_DATA_TABLE@"> |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
32 <filter type="static_value" column="4" value="@WITH_GENE_MODEL@" /> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
33 <filter type="static_value" column="5" value="@IDX_VERSION@" /> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
34 <filter type="sort_by" column="2" /> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
35 <validator type="no_options" message="No indexes are available for the selected input dataset" /> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
36 </options> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
37 </param> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
38 </xml> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
39 |
1
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
40 <token name="@FASTQ_GZ_OPTION@"> |
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
41 --readFilesCommand zcat |
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
42 </token> |
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
43 <xml name="citations"> |
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
44 <citations> |
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
45 <citation type="doi">10.1093/bioinformatics/bts635</citation> |
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
46 </citations> |
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
47 </xml> |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
48 <xml name="@SJDBOPTIONS@" token_optional="true"> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
49 <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"/> |
1
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
50 <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"/> |
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
51 </xml> |
4
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
52 <xml name="dbKeyActions"> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
53 <actions> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
54 <conditional name="refGenomeSource.geneSource"> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
55 <when value="indexed"> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
56 <action type="metadata" name="dbkey"> |
7
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
57 <option type="from_data_table" name="@IDX_DATA_TABLE@" column="1" offset="0"> |
4
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
58 <filter type="param_value" column="0" value="#" compare="startswith" keep="False"/> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
59 <filter type="param_value" ref="refGenomeSource.GTFconditional.genomeDir" column="0"/> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
60 </option> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
61 </action> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
62 </when> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
63 <when value="history"> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
64 <action type="metadata" name="dbkey"> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
65 <option type="from_param" name="refGenomeSource.genomeFastaFiles" param_attribute="dbkey" /> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
66 </action> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
67 </when> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
68 </conditional> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
69 </actions> |
6ef6520f14fc
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 39b9b154845ecf517f7d9e9d76c386b473c3ebd2
iuc
parents:
1
diff
changeset
|
70 </xml> |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
71 <token name="@TEMPINDEX@"><![CDATA[ |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
72 ## Create temporary index for custom reference |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
73 #if str($refGenomeSource.geneSource) == 'history': |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
74 mkdir -p tempstargenomedir && |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
75 STAR |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
76 --runMode genomeGenerate |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
77 --genomeDir 'tempstargenomedir' |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
78 --genomeFastaFiles '${refGenomeSource.genomeFastaFiles}' |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
79 ## Handle difference between indices with/without annotations |
7
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
80 #if 'GTFconditional' in $refGenomeSource: |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
81 ## GTFconditional exists only in STAR, but not STARsolo |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
82 #if str($refGenomeSource.GTFconditional.GTFselect) == 'with-gtf': |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
83 --sjdbOverhang '${refGenomeSource.GTFconditional.sjdbOverhang}' |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
84 --sjdbGTFfile '${refGenomeSource.GTFconditional.sjdbGTFfile}' |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
85 #if str($refGenomeSource.GTFconditional.sjdbGTFfile.ext) == 'gff3': |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
86 --sjdbGTFtagExonParentTranscript Parent |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
87 #end if |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
88 #end if |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
89 #else: |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
90 ## ref genome selection is less complex for STARsolo cause |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
91 ## with-gtf is mandatory there |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
92 --sjdbOverhang '${refGenomeSource.sjdbOverhang}' |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
93 --sjdbGTFfile '${refGenomeSource.sjdbGTFfile}' |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
94 #if str($refGenomeSource.sjdbGTFfile.ext) == 'gff3': |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
95 --sjdbGTFtagExonParentTranscript Parent |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
96 #end if |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
97 #end if |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
98 #if str($refGenomeSource.genomeSAindexNbases): |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
99 --genomeSAindexNbases ${refGenomeSource.genomeSAindexNbases} |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
100 #end if |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
101 --runThreadN \${GALAXY_SLOTS:-4} |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
102 && |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
103 #end if |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
104 ]]></token> |
6
64deddb6a8ec
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents:
5
diff
changeset
|
105 <token name="@REFGENOMEHANDLING@" ><![CDATA[ |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
106 --runThreadN \${GALAXY_SLOTS:-4} |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
107 --genomeLoad NoSharedMemory |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
108 --genomeDir |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
109 #if str($refGenomeSource.geneSource) == 'history': |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
110 tempstargenomedir |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
111 #else: |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
112 '${refGenomeSource.GTFconditional.genomeDir.fields.path}' |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
113 ## Handle difference between indices with/without annotations |
6
64deddb6a8ec
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents:
5
diff
changeset
|
114 #if str($refGenomeSource.GTFconditional.GTFselect) == 'without-gtf': |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
115 #if $refGenomeSource.GTFconditional.sjdbGTFfile: |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
116 --sjdbOverhang $refGenomeSource.GTFconditional.sjdbOverhang |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
117 --sjdbGTFfile '${refGenomeSource.GTFconditional.sjdbGTFfile}' |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
118 #if str($refGenomeSource.GTFconditional.sjdbGTFfile.ext) == 'gff3': |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
119 --sjdbGTFtagExonParentTranscript Parent |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
120 #end if |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
121 #end if |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
122 #end if |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
123 #end if |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
124 ]]></token> |
7
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
125 <xml name="ref_selection"> |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
126 <param argument="--genomeFastaFiles" type="data" format="fasta" label="Select a reference genome" /> |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
127 <!-- Currently, this parameter is not exposed in the wrapper, |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
128 but used only in the tests to avoid excessive index sizes for |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
129 the tiny test genomes. --> |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
130 <param name="genomeSAindexNbases" type="hidden" value="" /> |
6c6c6df09e64
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit a8e319862d723654c372a6d71e5de76e052586a9"
iuc
parents:
6
diff
changeset
|
131 </xml> |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
132 <xml name="stdio" > |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
133 <stdio> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
134 <regex match="FATAL error" source="both" level="fatal"/> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
135 <regex match="EXITING: FATAL INPUT ERROR:" source="both" level="fatal"/> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
136 <regex match="EXITING: fatal error trying to allocate genome arrays, exception thrown: std::bad_alloc" source="both" level="fatal"/> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
137 <regex match="\[sam_read1\] missing header\? Abort!" source="both" level="fatal"/> |
6
64deddb6a8ec
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 57f71aa633a43ab02bbf05acd0c6d7f406e01f1e"
iuc
parents:
5
diff
changeset
|
138 <yield /> |
5
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
139 </stdio> |
f5eb9afa8f8a
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 9b68f6ae375aed38493f8399b8572347c750336d
iuc
parents:
4
diff
changeset
|
140 </xml> |
1
cdc4d8a998e1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/data_managers/data_manager_star_index_builder commit 0d434bca5083e908114d93e11094e48f49b98ed1
iuc
parents:
diff
changeset
|
141 </macros> |