Skip to content

Commit

Permalink
Refactoring complete
Browse files Browse the repository at this point in the history
  • Loading branch information
joshfactorial committed Sep 19, 2024
1 parent 19b74f0 commit 62821b9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 613 deletions.
4 changes: 3 additions & 1 deletion neat/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from .models import *
from .error_models import *
from .mutation_model import *
from .fragment_model import *
3 changes: 2 additions & 1 deletion neat/models/error_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
from .variant_models import InsertionModel, DeletionModel, SnvModel

__all__ = [
"ErrorContainer"
"ErrorContainer",
"SequencingErrorModel"
]

_LOG = logging.getLogger(__name__)
Expand Down
18 changes: 1 addition & 17 deletions neat/models/fragment_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,19 @@
must have a corresponding model in order to be fully implemented.
"""

import re
import logging
import abc
import sys

from numpy.random import Generator
from Bio.Seq import Seq
from Bio import SeqRecord

from neat import variants

from ..common import TRINUC_IND, ALLOWED_NUCL, NUC_IND, DINUC_IND
from .default_mutation_model import *
from .default_sequencing_error_model import *

__all__ = [
"MutationModel",
"SequencingErrorModel",
"FragmentLengthModel",
"InsertionModel",
"DeletionModel",
"SnvModel",
"ErrorContainer"
"FragmentLengthModel"
]

_LOG = logging.getLogger(__name__)



class FragmentLengthModel:
"""
A model of the fragment length based on mean and standard deviation of the dataset. Used both
Expand Down
Loading

0 comments on commit 62821b9

Please sign in to comment.