Skip to content

Commit

Permalink
add max entities param for build equiv groups
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesamcl committed Aug 1, 2024
1 parent 6f14406 commit a1be196
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nextflow/01_create_subgraph.nf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ params.config = "$GREBI_CONFIG"
params.subgraph = "$GREBI_SUBGRAPH"
params.timestamp = "$GREBI_TIMESTAMP"
params.is_ebi = "$GREBI_IS_EBI"
params.max_entities = "$GREBI_MAX_ENTITIES"

workflow {

Expand Down Expand Up @@ -128,6 +129,7 @@ process build_equiv_groups {
cat ${identifiers_tsv} \
| ${params.home}/target/release/grebi_identifiers2groups \
--add-prefix ${params.subgraph}:g: \
--prealloc-size ${params.max_entities} \
${buildAddEquivGroupArgs(additional_equivalence_groups)} \
> groups.txt
"""
Expand Down

0 comments on commit a1be196

Please sign in to comment.