Skip to content

Commit a1be196

Browse files
committed
add max entities param for build equiv groups
1 parent 6f14406 commit a1be196

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nextflow/01_create_subgraph.nf

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ params.config = "$GREBI_CONFIG"
1010
params.subgraph = "$GREBI_SUBGRAPH"
1111
params.timestamp = "$GREBI_TIMESTAMP"
1212
params.is_ebi = "$GREBI_IS_EBI"
13+
params.max_entities = "$GREBI_MAX_ENTITIES"
1314

1415
workflow {
1516

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

0 commit comments

Comments
 (0)