Skip to content

Commit

Permalink
added fasta in wildcard_constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
farchaab committed Oct 29, 2024
1 parent a519200 commit b188a7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mess/workflow/rules/preflight/functions.smk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import random
wildcard_constraints:
sample="[^/]+",
contig="[^/]+",
fasta="[^/]+",


def list_reads(wildcards):
Expand Down Expand Up @@ -120,7 +121,7 @@ def get_asm_summary(wildcards):

except AttributeError:
if FASTA and not ASM_SUMMARY:
table = os.path.join(dir.out.processing, "seqkit_stats.tsv")
table = "seqkit_stats.tsv"
else:
table = ASM_SUMMARY
return table
Expand Down

0 comments on commit b188a7b

Please sign in to comment.