Skip to content

Commit

Permalink
Remove unused imports and import constants for file names from init.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
pontushojer committed Apr 20, 2021
1 parent f32f93b commit 7d0823c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/dbspro/rules.smk
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
import pandas as pd
import dnaio
import os
from pathlib import Path
from snakemake.utils import validate

from dbspro.utils import get_abcs
from dbspro.cli.init import CONFIGURATION_FILE_NAME, ABC_FILE_NAME

# Read sample and handles files.
configfile: "dbspro.yaml"
configfile: CONFIGURATION_FILE_NAME
validate(config, "config.schema.yaml")

abc = get_abcs("ABC-sequences.fasta")
abc = get_abcs(ABC_FILE_NAME)

# Get required values
abc_len = len(abc["Sequence"][0]) - 1
Expand Down

0 comments on commit 7d0823c

Please sign in to comment.