linting + small fixes
Compare changes
@@ -5,9 +6,19 @@ import pandas as pd
@@ -5,9 +6,19 @@ import pandas as pd
@@ -21,24 +32,44 @@ def fasta_process(fasta_file):
@@ -21,24 +32,44 @@ def fasta_process(fasta_file):
nuc_probs = {'A':a_prob, 'T':t_prob, 'G':g_prob, 'C':c_prob} # calculated using https://www.nature.com/articles/srep04532#MOESM1
# non-uniformly random DNA fragmentation implementation based on https://www.nature.com/articles/srep04532#Sec1
@@ -46,8 +77,8 @@ def fragmentation(fasta_file, counts_file, mean_length, std, a_prob, t_prob, g_p
@@ -46,8 +77,8 @@ def fragmentation(fasta_file, counts_file, mean_length, std, a_prob, t_prob, g_p
@@ -61,4 +92,3 @@ def fragmentation(fasta_file, counts_file, mean_length, std, a_prob, t_prob, g_p
@@ -61,4 +92,3 @@ def fragmentation(fasta_file, counts_file, mean_length, std, a_prob, t_prob, g_p