Skip to content

Commit

Permalink
bump pyoma lib
Browse files Browse the repository at this point in the history
  • Loading branch information
alpae committed Dec 10, 2024
1 parent ca47b7f commit 56e7e85
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
4 changes: 2 additions & 2 deletions containers/oma/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions modules/local/browser_aux/main.nf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
process GEN_BROWSER_AUX_FILES {
label "process_single"
container "dessimozlab/omabuild:nf-latest"

input:
path db

output:
path "genomes.json", emit: genomes_json
path "speciestree.*", emit: speciestree

script:
"""
oma-build -vv generate-aux-files \\
--db $db \\
--out-dir ./
"""

stub:
"""
touch genomes.json
touch speciestree.nwk speciestree.phyloxml
"""
}
2 changes: 2 additions & 0 deletions workflows/oma_browser_build.nf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ include { GENERATE_XREFS } from "./../subworkflows/local/xrefs"
include { GO_IMPORT } from "./../modules/local/go_import"
include { COMBINE_HDF } from "./../modules/local/h5_combine"
include { CACHE_BUILDER } from "./../subworkflows/local/cache_builder"
include { GEN_BROWSER_AUX_FILES } from "./../modules/local/browser_aux"

workflow OMA_BROWSER_BUILD {
take:
Expand Down Expand Up @@ -37,6 +38,7 @@ workflow OMA_BROWSER_BUILD {
domains_h5 = null
}
CACHE_BUILDER(IMPORT_HDF5.out.db_h5)
GEN_BROWSER_AUX_FILES(IMPORT_HDF5.out.db_h5)

// create crossreferences
GENERATE_XREFS(EXTRACT_DARWIN.out.gs_file,
Expand Down

0 comments on commit 56e7e85

Please sign in to comment.