Skip to content

Commit

Permalink
Reverting changes in get_orthologs
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseEspinosa committed May 7, 2024
1 parent 3cad588 commit f1fe384
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions subworkflows/local/get_orthologs.nf
Original file line number Diff line number Diff line change
Expand Up @@ -131,24 +131,22 @@ workflow GET_ORTHOLOGS {
ch_versions
.mix(FETCH_INSPECTOR_GROUP_ONLINE.out.versions)
.set { ch_versions }
// TODO check that this is correct
if (params.local_databases) {
FETCH_EGGNOG_GROUP_LOCAL (
ch_query,
params.eggnog_path,
params.eggnog_idmap_path
)

ch_orthogroups
.mix(FETCH_EGGNOG_GROUP_LOCAL.out.eggnog_group)
.set { ch_orthogroups }

FETCH_EGGNOG_GROUP_LOCAL (
ch_query,
params.eggnog_path,
params.eggnog_idmap_path
)

ch_versions
.mix(FETCH_EGGNOG_GROUP_LOCAL.out.versions)
.set { ch_versions }
}
ch_orthogroups
.mix(FETCH_EGGNOG_GROUP_LOCAL.out.eggnog_group)
.set { ch_orthogroups }

} else { // online/local separation is used
ch_versions
.mix(FETCH_EGGNOG_GROUP_LOCAL.out.versions)
.set { ch_versions }
}
else { // online/local separation is used
// local only
if (params.local_databases) {
if (!params.skip_oma) {
Expand Down

0 comments on commit f1fe384

Please sign in to comment.