From 8b39feb92f995863d8bd10dc27e4080c8405aa59 Mon Sep 17 00:00:00 2001 From: Marius Eisele Date: Thu, 18 Apr 2024 11:27:27 +0100 Subject: [PATCH] Changed imports for conda build --- metamate/binning.py | 4 ---- metamate/core.py | 6 +++--- metamate/filterreference.py | 2 +- metamate/metamate.py | 6 +++--- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/metamate/binning.py b/metamate/binning.py index 639cf38..7c42d09 100644 --- a/metamate/binning.py +++ b/metamate/binning.py @@ -4,8 +4,6 @@ """Functions for assigning clades to a set of sequences""" # Imports - - import os import sys import subprocess @@ -22,8 +20,6 @@ # Function definitions - - def parse_taxa(taxafile, names): taxa = defaultdict(set) allnames = set() diff --git a/metamate/core.py b/metamate/core.py index 625cf76..02d18e7 100644 --- a/metamate/core.py +++ b/metamate/core.py @@ -21,9 +21,9 @@ from Bio.SeqIO.FastaIO import SimpleFastaParser -import filterlength -import filtertranslate -import filterreference +from metamate import filterlength +from metamate import filtertranslate +from metamate import filterreference def count_categories(catdict, metric): diff --git a/metamate/filterreference.py b/metamate/filterreference.py index 4be45f5..489f412 100644 --- a/metamate/filterreference.py +++ b/metamate/filterreference.py @@ -9,9 +9,9 @@ import re import sys import pysam -import binning from Bio import AlignIO, SeqIO +from metamate import binning # Functions def make_temp_bbmapwd(path, name): diff --git a/metamate/metamate.py b/metamate/metamate.py index 00efef4..ea0cad6 100755 --- a/metamate/metamate.py +++ b/metamate/metamate.py @@ -15,9 +15,9 @@ from functools import partial from shutil import which -import core -import binning -import filterlength +from metamate import core +from metamate import binning +from metamate import filterlength # Class definitions