Skip to content

Commit

Permalink
Merge branch 'master' into dp-sra_fetch-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 authored Sep 9, 2023
2 parents a8a6d8b + 7707958 commit c429d92
Show file tree
Hide file tree
Showing 16 changed files with 44 additions and 52 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# fetch git tags (tagged releases) because
# actions/checkout@v2 does either a full checkout or a shallow checkout without tags
# actions/checkout@v3 does either a full checkout or a shallow checkout without tags
- name: fetch tags
run: git fetch --prune --unshallow --tags
- name: Programmatic environment setup
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
run: |
env
- name: install python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: install system dependencies
Expand All @@ -87,9 +87,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# fetch git tags (tagged releases) because
# actions/checkout@v2 does either a full checkout or a shallow checkout without tags
# actions/checkout@v3 does either a full checkout or a shallow checkout without tags
- name: fetch tags
run: git fetch --prune --unshallow --tags
- name: Programmatic environment setup
Expand All @@ -115,7 +115,7 @@ jobs:
echo "GITHUB_ACTIONS_BRANCH=$GITHUB_ACTIONS_BRANCH"
echo "GITHUB_ACTIONS_BRANCH=$GITHUB_ACTIONS_BRANCH" >> $GITHUB_ENV
- name: install java
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
Expand All @@ -137,9 +137,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# fetch git tags (tagged releases) because
# actions/checkout@v2 does either a full checkout or a shallow checkout without tags
# actions/checkout@v3 does either a full checkout or a shallow checkout without tags
- name: fetch tags
run: git fetch --prune --unshallow --tags
- name: Programmatic environment setup
Expand All @@ -165,7 +165,7 @@ jobs:
echo "GITHUB_ACTIONS_BRANCH=$GITHUB_ACTIONS_BRANCH"
echo "GITHUB_ACTIONS_BRANCH=$GITHUB_ACTIONS_BRANCH" >> $GITHUB_ENV
- name: install python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: install docs dependencies
Expand All @@ -182,9 +182,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# fetch git tags (tagged releases) because
# actions/checkout@v2 does either a full checkout or a shallow checkout without tags
# actions/checkout@v3 does either a full checkout or a shallow checkout without tags
- name: fetch tags
run: git fetch --prune --unshallow --tags
- name: Programmatic environment setup
Expand All @@ -210,7 +210,7 @@ jobs:
echo "GITHUB_ACTIONS_BRANCH=$GITHUB_ACTIONS_BRANCH"
echo "GITHUB_ACTIONS_BRANCH=$GITHUB_ACTIONS_BRANCH" >> $GITHUB_ENV
- name: install java
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
Expand All @@ -230,9 +230,9 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# fetch git tags (tagged releases) because
# actions/checkout@v2 does either a full checkout or a shallow checkout without tags
# actions/checkout@v3 does either a full checkout or a shallow checkout without tags
- name: fetch tags
run: git fetch --prune --unshallow --tags
- name: Programmatic environment setup
Expand All @@ -258,7 +258,7 @@ jobs:
echo "GITHUB_ACTIONS_BRANCH=$GITHUB_ACTIONS_BRANCH"
echo "GITHUB_ACTIONS_BRANCH=$GITHUB_ACTIONS_BRANCH" >> $GITHUB_ENV
- name: install python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: install system dependencies
Expand All @@ -277,7 +277,7 @@ jobs:
deploy_dnanexus:
#if: ${{ github.event.ref == 'dnanexus' }}
if: github.event_name == 'release' || github.ref == 'refs/heads/master'
if: github.event_name == 'release' || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/dnanexus'
needs:
- validate_wdl_womtool
- validate_wdl_miniwdl
Expand All @@ -289,9 +289,9 @@ jobs:
DX_PROJECT: project-F8PQ6380xf5bK0Qk0YPjB17P
steps:
- name: checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
# fetch git tags (tagged releases) because
# actions/checkout@v2 does either a full checkout or a shallow checkout without tags
# actions/checkout@v3 does either a full checkout or a shallow checkout without tags
- name: fetch tags
run: git fetch --prune --unshallow --tags
- name: Programmatic environment setup
Expand Down Expand Up @@ -322,11 +322,11 @@ jobs:
echo "${{ github.event.action }}"
echo "${{ github.event.pull_request.merged }}"
- name: install python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: install java
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
Expand Down
3 changes: 3 additions & 0 deletions pipes/WDL/tasks/tasks_interhost.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ task beast {
output {
File beast_log = glob("*.log")[0]
Array[File] trees = glob("*.trees")
Array[File] ops = glob("*.ops")
Array[File] rates = glob("*.rates")
Array[File] root = glob("*.root")
File beast_stdout = stdout()
}

Expand Down
2 changes: 1 addition & 1 deletion pipes/WDL/tasks/tasks_ncbi.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ task download_annotations {
>>>

output {
File combined_fasta = "~{combined_out_prefix}.fasta"
File combined_fasta = "combined/~{combined_out_prefix}.fasta"
Array[File] genomes_fasta = glob("*.fasta")
Array[File] features_tbl = glob("*.tbl")
String viralngs_version = read_string("VERSION")
Expand Down
4 changes: 2 additions & 2 deletions pipes/WDL/tasks/tasks_sarscov2.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ task pangolin_one_sample {
Float? max_ambig
String? analysis_mode
Boolean update_dbs_now=false
String docker = "quay.io/staphb/pangolin:4.2-pdata-1.18.1.1"
String docker = "quay.io/staphb/pangolin:4.3.1-pdata-1.22"
}
String basename = basename(genome_fasta, ".fasta")
Int disk_size = 50
Expand Down Expand Up @@ -93,7 +93,7 @@ task pangolin_many_samples {
String? analysis_mode
Boolean update_dbs_now=false
String basename
String docker = "quay.io/staphb/pangolin:4.2-pdata-1.18.1.1"
String docker = "quay.io/staphb/pangolin:4.3.1-pdata-1.22"
}
Int disk_size = 100
command <<<
Expand Down
2 changes: 2 additions & 0 deletions pipes/WDL/workflows/bam_to_qiime.wdl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version 1.0

#DX_SKIP_WORKFLOW
import "../tasks/tasks_16S_amplicon.wdl" as infile

workflow qiime_import_bam {
Expand Down
3 changes: 3 additions & 0 deletions pipes/WDL/workflows/beast_gpu.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ workflow beast_gpu {
output {
File beast_log = beast.beast_log
Array[File] trees = beast.trees
Array[File] ops = beast.ops
Array[File] rates = beast.rates
Array[File] root = beast.root
String beast_stdout = beast.beast_stdout
}
}
2 changes: 2 additions & 0 deletions pipes/WDL/workflows/classify_qiime2_multi.wdl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version 1.0

#DX_SKIP_WORKFLOW
import "../tasks/tasks_16S_amplicon.wdl" as qiime

workflow amplicon16S_analysis {
Expand Down
2 changes: 2 additions & 0 deletions pipes/WDL/workflows/demux_metag.wdl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version 1.0

#DX_SKIP_WORKFLOW
import "../tasks/tasks_demux.wdl" as demux
import "../tasks/tasks_metagenomics.wdl" as metagenomics
import "../tasks/tasks_read_utils.wdl" as read_utils
Expand Down
4 changes: 2 additions & 2 deletions pipes/WDL/workflows/sarscov2_nextstrain_aligned_input.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ workflow sarscov2_nextstrain_aligned_input {
}

input {
Array[File]+ aligned_sequences_fasta=["gs://nextstrain-data/files/ncov/open/aligned.fasta.xz"]
Array[File]+ aligned_sequences_fasta=["gs://nextstrain-data/files/ncov/open/aligned.fasta.zst"]
Array[File]+ sample_metadata_tsvs=["gs://nextstrain-data/files/ncov/open/metadata.tsv.gz"]

String build_name
Expand Down Expand Up @@ -57,7 +57,7 @@ workflow sarscov2_nextstrain_aligned_input {
call utils.zcat {
input:
infiles = aligned_sequences_fasta,
output_name = "all_samples_combined_assembly.fasta"
output_name = "all_samples_combined_assembly.fasta.xz"
}

#### merge metadata, compute derived cols
Expand Down
2 changes: 2 additions & 0 deletions pipes/WDL/workflows/terra_table_to_tsv.wdl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version 1.0

#DX_SKIP_WORKFLOW
import "../tasks/tasks_terra.wdl" as terra

workflow terra_table_to_tsv {
Expand Down
2 changes: 2 additions & 0 deletions pipes/WDL/workflows/terra_update_assemblies.wdl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
version 1.0

#DX_SKIP_WORKFLOW
import "../tasks/tasks_terra.wdl" as terra

workflow update_data_tables {
Expand Down
2 changes: 1 addition & 1 deletion pipes/dnax/dx-launcher/dx-yml-build
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ app_basename=os.path.splitext(os.path.basename(app_yaml_path))[0]
output_json_filename=app_basename+'.json'

with open(app_yaml_path) as infile:
data = yaml.load(infile)
data = yaml.safe_load(infile)
data["00COMMENT"] = "This {}.json has been generated from {} automatically using dx-yml-build".format(app_basename,app_yaml_path)
with open(output_json_filename, 'w') as outfile:
json.dump(data, outfile, sort_keys=True, indent=2)
Expand Down
2 changes: 1 addition & 1 deletion requirements-modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ broadinstitute/beast-beagle-cuda=1.10.5pre
broadinstitute/ncbi-tools=2.10.7.10
nextstrain/base=build-20211012T204409Z
andersenlabapps/ivar=1.3.1
quay.io/staphb/pangolin=4.2-pdata-1.18.1.1
quay.io/staphb/pangolin=4.3.1-pdata-1.22
nextstrain/nextclade=2.12.0
21 changes: 0 additions & 21 deletions test/input/WDL/cromwell-local/test_inputs-genbank-local.json

This file was deleted.

This file was deleted.

4 changes: 1 addition & 3 deletions test/input/WDL/test_inputs-assemble_denovo-dnanexus.dx.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@
],

"stage-common.filter_to_taxon_db": { "$dnanexus_link": { "project": "project-F8PQ6380xf5bK0Qk0YPjB17P", "id": "file-F1zXZ9Q0pvkp7FkZ646YJX2y" } },
"stage-common.reference_genome_fasta": [ { "$dnanexus_link": { "project": "project-F8PQ6380xf5bK0Qk0YPjB17P", "id": "file-F1zXZ9Q0pvkp7FkZ646YJX2y" } } ],

"stage-common.novocraft_license": { "$dnanexus_link": { "project": "project-F89kXY805X08BpXq7xjxbX9F", "id": "file-F1zkVGQ0jy1P68J88kyJ8zVF" } }
"stage-common.reference_genome_fasta": [ { "$dnanexus_link": { "project": "project-F8PQ6380xf5bK0Qk0YPjB17P", "id": "file-F1zXZ9Q0pvkp7FkZ646YJX2y" } } ]
}

0 comments on commit c429d92

Please sign in to comment.