Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert committed May 20, 2024
1 parent 4d16538 commit 282b120
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions gget/gget_mutate.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
import pandas as pd
import re
import logging
from tqdm import tqdm

from .utils import read_fasta
tqdm.pandas()

# Add and format time stamp in logging messages
logging.basicConfig(
Expand All @@ -14,6 +15,8 @@
# Mute numexpr threads info
logging.getLogger("numexpr").setLevel(logging.WARNING)

from .utils import read_fasta

# Define global variables to count occurences of weird mutations
intronic_mutations = 0
posttranslational_region_mutations = 0
Expand Down Expand Up @@ -321,8 +324,6 @@ def mutate(
if isinstance(mutation_df, str):
mutation_df = pd.read_csv(mutation_df)

print(mutation_df)

logging.info("Extracting mutation types...")
# Get all mutation types
mutation_df["mutation_type"] = mutation_df[mut_column].progress_apply(
Expand Down

0 comments on commit 282b120

Please sign in to comment.