Skip to content

Commit ebb8369

Browse files
Merge branch 'release/0.1.2'
2 parents 0b3424f + 26b125c commit ebb8369

5 files changed

Lines changed: 119 additions & 21 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changes
22

3+
## 0.1.2
4+
- New version of architecture-setup: [3.1.13](https://github.com/ICGC-TCGA-PanCancer/architecture-setup/releases/tag/3.1.13)
5+
- Updated config file: now includes OxoG for Collaboratory, as well as updates to other workflows' configurations.
6+
- Changed path to server-tags to be absolute path, in mustache file.
7+
38
## 0.1.1
49
- Added the begining of an OpenStack-specific config document.
510
- Fixed incorrect consonance version number in mustache file.

config/workflowlist.json

Lines changed: 103 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@
3434
"image":"d696eb26-a0b0-4533-a28f-60e92f9ed125",
3535
"instance-type":"m1.xlarge",
3636
"lvm_devices":""
37-
}
37+
},
38+
"collaboratory":
39+
{
40+
"image":"cc9c3069-3482-40b7-a0f9-80138a74a894",
41+
"instance-type":"c1.medium",
42+
"lvm_devices":""
43+
}
3844
},
3945
"azure":
4046
{
@@ -67,13 +73,16 @@
6773
"lvm_devices":"/dev/xvdb,/dev/xvdc"
6874
},
6975
"openstack":{
70-
"image":"ami-f583d190",
71-
"instance-type":"r3.8xlarge",
72-
"lvm_devices":"/dev/xvdb,/dev/xvdc"
76+
"sweng":
77+
{
78+
"image":"d696eb26-a0b0-4533-a28f-60e92f9ed125",
79+
"instance-type":"m1.2xlarge",
80+
"lvm_devices":""
81+
}
7382
},
7483
"azure":{
75-
"image":"ami-f583d190",
76-
"instance-type":"r3.8xlarge",
84+
"image":"sanger-base-image-2",
85+
"instance-type":"Standard_G5",
7786
"lvm_devices":"/dev/sdb"
7887
}
7988
},
@@ -94,7 +103,7 @@
94103
"image_name": "pancancer/seqware_whitestar_pancancer:1.1.2"
95104
}
96105
},
97-
"default-ini":"https://raw.githubusercontent.com/ICGC-TCGA-PanCancer/Seqware-BWA-Workflow/feature/solomon_BWA_use_S3/workflow/config/workflow_s3.ini",
106+
"default-ini":"https://raw.githubusercontent.com/ICGC-TCGA-PanCancer/Seqware-BWA-Workflow/2.6.6/workflow/config/workflow_s3.ini",
98107
"cloud-specific-details": {
99108
"aws": {
100109
"image":"ami-4387d526",
@@ -107,9 +116,12 @@
107116
"lvm_devices":"/dev/sdb"
108117
},
109118
"openstack": {
110-
"image":"somethingelse",
111-
"instance-type":"m1.xlarge",
112-
"lvm_devices":"/dev/xvdb,/dev/xvdc,/dev/xvdd,/dev/xvde"
119+
"sweng":
120+
{
121+
"image":"d696eb26-a0b0-4533-a28f-60e92f9ed125",
122+
"instance-type":"m1.xlarge",
123+
"lvm_devices":""
124+
}
113125
}
114126
}
115127
},
@@ -148,10 +160,29 @@
148160
"url":"s3://oicr.docker.private.images/dkfz_dockered_workflows_1.3.tar"
149161
}
150162
},
151-
"ami_id":"ami-d05e75b8",
152-
"default-ini":"https://raw.githubusercontent.com/ICGC-TCGA-PanCancer/DEWrapperWorkflow/develop/workflow/config/DEWrapperWorkflow_1.6.0_GNOS.ini",
153-
"instance-type":"r3.8xlarge",
154-
"lvm_devices":"/dev/xvdb,/dev/xvdc"
163+
164+
"cloud-specific-details": {
165+
"aws": {
166+
"image":"ami-f583d190",
167+
"instance-type":"r3.8xlarge",
168+
"lvm_devices":"/dev/xvdb,/dev/xvdc"
169+
},
170+
"azure": {
171+
"image":"base-image",
172+
"instance-type":"Standard_G5",
173+
"lvm_devices":"/dev/sdb"
174+
},
175+
"openstack": {
176+
"sweng":
177+
{
178+
"image":"d696eb26-a0b0-4533-a28f-60e92f9ed125",
179+
"instance-type":"m1.4xlarge",
180+
"lvm_devices":""
181+
}
182+
}
183+
},
184+
"default-ini":"https://raw.githubusercontent.com/ICGC-TCGA-PanCancer/DEWrapperWorkflow/develop/workflow/config/DEWrapperWorkflow_1.6.0_GNOS.ini"
185+
155186
},
156187
"Broad_1.0.0":
157188
{
@@ -185,5 +216,61 @@
185216
"default-ini":"https://raw.githubusercontent.com/ICGC-TCGA-PanCancer/BroadWrapperWorkflow/develop/workflow/config/BroadWrapperWorkflow.ini",
186217
"instance-type":"m1.xlarge",
187218
"lvm_devices":"/dev/xvdb,/dev/xvdc,/dev/xvdd,/dev/xvde"
188-
}
189-
}
219+
},
220+
"OxoG_1.0":
221+
{
222+
"full_name":"Workflow_Bundle_OxoGWrapper_1.0_SeqWare_1.1.2",
223+
"cloud-specific-details":
224+
{
225+
"aws":
226+
{
227+
"image":"ami-b180b1db",
228+
"instance-type":"m2.4xlarge",
229+
"lvm_devices":"/dev/xvdb,/dev/xvdc"
230+
},
231+
"openstack":
232+
{
233+
"collaboratory":
234+
{
235+
"image":"a3749ea3-46c3-4d20-9b32-70ed6d584e9c",
236+
"instance-type":"c1.large",
237+
"lvm_devices":""
238+
}
239+
}
240+
},
241+
"containers":
242+
{
243+
"compbio_ngseasy_base":
244+
{
245+
"name":"compbio_ngseasy_base",
246+
"image_name":"compbio/ngseasy-base:a1.0-002"
247+
},
248+
"icgc_storage_client":
249+
{
250+
"name":"icgc_storage_client",
251+
"image_name":"icgc/icgc-storage-client"
252+
},
253+
"seqware_whitestar_pancancer":
254+
{
255+
"name":"seqware_whitestar_pancancer",
256+
"image_name":"pancancer/seqware_whitestar_pancancer:1.1.2-actual-java8"
257+
},
258+
"annotator":
259+
{
260+
"name":"annotator",
261+
"image_name":"ljdursi/pcawg-annotate"
262+
},
263+
"pancancer_upload_download":
264+
{
265+
"name":"pancancer_upload_download",
266+
"image_name":"pancancer/pancancer_upload_download:1.7"
267+
}
268+
},
269+
"http_workflow":
270+
{
271+
"url":"https://s3.amazonaws.com/oicr.workflow.bundles/released-bundles/Workflow_Bundle_OxoGWrapper_1.0.0_SeqWare_1.1.2.zip",
272+
"version":"1.0.0"
273+
},
274+
"default-ini":"https://raw.githubusercontent.com/ICGC-TCGA-PanCancer/OxoGWrapperWorkflow/develop/workflow/config/OxoGWrapperWorkflow.ini"
275+
}
276+
}

scripts/commands/generator.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import workflowlister
66
import json
77
import os
8+
import sys
89

910
class Generator(cliff.command.Command):
1011
"This Generator will generate new job orders based on the contents of ~/ini-dir. Be aware that it will also rewrite your params.json file and your ~.youxia/config file."
@@ -61,8 +62,13 @@ def take_action(self, parsed_args):
6162
cloud_specific_details = workflow_details['cloud-specific-details']['aws']
6263
elif cloud_env == 'OPENSTACK' :
6364
# If there is only one OpenStack choice, we'll just go with that.
64-
if len(workflow_details['cloud-specific-details']['openstack'].keys())<=1:
65-
cloud_specific_details = workflow_details['cloud-specific-details']['openstack'][0]
65+
self.log.debug('OpenStack options: '+str(workflow_details['cloud-specific-details']['openstack']))
66+
if len(workflow_details['cloud-specific-details']['openstack'].keys())==0:
67+
print('No OpenStack environments are available. Exiting.')
68+
sys.exit(1)
69+
elif len(workflow_details['cloud-specific-details']['openstack'].keys())==1:
70+
k = list(workflow_details['cloud-specific-details']['openstack'].keys())[0]
71+
cloud_specific_details = workflow_details['cloud-specific-details']['openstack'][k]
6672
else:
6773
# Check to see if the user did not provide an OpenStack environment name, or if it's not in the list of *actual* names
6874
if os_env_name is None or os_env_name not in workflow_details['cloud-specific-details']['openstack']:

scripts/install_bootstrap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /bin/bash
22
set -e
3-
PANCANCER_LAUNCHER_VERSION=3.2.1
4-
PANCANCER_CLI_VERSION=0.1.1
3+
PANCANCER_LAUNCHER_VERSION=3.2.2
4+
PANCANCER_CLI_VERSION=0.1.2
55
WORKFLOW_LISTING_URL=https://raw.githubusercontent.com/ICGC-TCGA-PanCancer/cli/${PANCANCER_CLI_VERSION}/config/workflowlist.json
66

77
cat <<MSG

scripts/pancancer_config.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
"provision":
107107
{
108108
"max_running_containers":{{max_fleet_size}},
109-
"youxia_deployer_parameters":"--max-spot-price {{spot_price}}{{^spot_price}}0.001{{/spot_price}} --batch-size 3 --ansible-playbook /home/ubuntu/architecture-setup/container-host-bag/install.yml -e /home/ubuntu/params.json --server-tag-file server-tags.json {{youxia_env_opt}}",
109+
"youxia_deployer_parameters":"--max-spot-price {{spot_price}}{{^spot_price}}0.001{{/spot_price}} --batch-size 3 --ansible-playbook /home/ubuntu/architecture-setup/container-host-bag/install.yml -e /home/ubuntu/params.json --server-tag-file /home/ubuntu/arch3/server-tags.json {{youxia_env_opt}}",
110110
"youxia_reaper_parameters":"{{youxia_env_opt}}",
111111
"reap_failed_workers":""
112112
}

0 commit comments

Comments
 (0)