Skip to content

Commit

Permalink
removed unnecessary contigs number
Browse files Browse the repository at this point in the history
  • Loading branch information
farchaab committed Oct 8, 2024
1 parent 3799511 commit e9ab869
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mess/workflow/scripts/calculate_cov.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ def get_even_dist(table):
"path",
"tax_id",
"total_sequence_length",
"number_of_contigs",
"reads",
"bases",
"seq_abundance",
Expand All @@ -179,7 +178,5 @@ def get_even_dist(table):
df["tax_abundance"] = df["tax_abundance"].apply(lambda x: round(x, 3))
df["seq_abundance"] = df["seq_abundance"].apply(lambda x: round(x, 3))

df = df.astype(
{"seed": int, "tax_id": int, "total_sequence_length": int, "number_of_contigs": int}
)
df = df.astype({"seed": int, "tax_id": int, "total_sequence_length": int})
df[cols].set_index(["samplename", "fasta"]).to_csv(snakemake.output[0], sep="\t") # type: ignore

0 comments on commit e9ab869

Please sign in to comment.