Skip to content

Commit

Permalink
Allow .fna host extension as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulthran committed Jun 6, 2024
1 parent 179092b commit 1ddee2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sbx_mapping.smk
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ else:
if not GenomeFiles:
GenomeFiles = [f for f in Cfg["sbx_mapping"]["genomes_fp"].glob("*.fa")]
HOST_FILE_EXT = ".fa"
if not GenomeFiles:
GenomeFiles = [f for f in Cfg["sbx_mapping"]["genomes_fp"].glob("*.fna")]
HOST_FILE_EXT = ".fna"
GenomeSegments = {
PurePath(g.name).stem: read_seq_ids(Cfg["sbx_mapping"]["genomes_fp"] / g)
for g in GenomeFiles
Expand Down

0 comments on commit 1ddee2b

Please sign in to comment.