Skip to content
Snippets Groups Projects
Commit 2ecfa81e authored by Mate Balajti's avatar Mate Balajti
Browse files

fix: fragmentation function

parent 4acce8f9
No related branches found
No related tags found
1 merge request!58refactor: update CLI
Pipeline #17236 failed
......@@ -24,7 +24,7 @@ def fragmentation(fasta: dict, seq_counts: pd.DataFrame,
term_frags = []
for seq_id, seq in fasta.items():
counts = seq_counts[seq_counts["seqID"] == str(seq_id)]["count"]
counts = seq_counts[seq_counts["seqID"] == seq_id]["count"]
for _ in range(counts.iloc[0]):
cuts = []
seq_len = len(seq)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment