Skip to content

Commit

Permalink
move out and carry on
Browse files Browse the repository at this point in the history
  • Loading branch information
toniher committed Nov 4, 2024
1 parent bdf20d5 commit 12e3750
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion modules/local/exorthist/score_matches.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ process SCORE_EX_MATCHES {
tag { comp_id }
label 'big_mem'

storeDir "${params.output}/${comp_id}"
storeDir "${outdir}/${comp_id}"

input:
tuple val(comp_id), path("*")
path outdir

output:
path "all_PROT_EX_INT_aln_features_*", emit: all_features
Expand Down
3 changes: 2 additions & 1 deletion subworkflows/local/exorthist/score.nf
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ workflow SCORE {
long_dist
medium_dist
short_dist
outdir

main:

data_to_score = folder_jscores.join(clusters_split_ch).map{ [it[0], it[1..-1] ]}
// Score EX matches from aln info
SCORE_EX_MATCHES(data_to_score)
SCORE_EX_MATCHES(data_to_score, outdir)
// Filter the best matches above score cutoffs by target gene.
all_scores_to_filt_ch = SCORE_EX_MATCHES.out.all_scores_to_filt
FILTER_AND_SELECT_BEST_EX_MATCHES_BY_TARGETGENE(all_scores_to_filt_ch.join(dist_ranges_ch), long_dist, medium_dist, short_dist)
Expand Down
3 changes: 2 additions & 1 deletion workflows/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ workflow MAIN {
params.bonafide_pairs,
params.long_dist,
params.medium_dist,
params.short_dist
params.short_dist,
params.output
)

CLUSTER(
Expand Down

0 comments on commit 12e3750

Please sign in to comment.