@@ -50,7 +50,7 @@ def digest(chromsizes_path, fasta_path, enzyme_name):
50
50
"Some chromosomes mentioned in {}"
51
51
" are not found in {}" .format (chromsizes_path , fasta_path )
52
52
)
53
- frags = bioframe .tools . digest (fasta_records , enzyme_name )
53
+ frags = bioframe .digest (fasta_records , enzyme_name )
54
54
print (frags .to_csv (sep = "\t " , index = False ))
55
55
56
56
@@ -72,7 +72,7 @@ def gc(bins_path, fasta_path, mapped_only):
72
72
"Some chromosomes mentioned in {}"
73
73
" are not found in {}" .format (bins_path , fasta_path )
74
74
)
75
- bins [ "GC" ] = bioframe .genomeops . frac_gc (bins , fasta_records , mapped_only , return_input = False )
75
+ bins = bioframe .frac_gc (bins , fasta_records , mapped_only )
76
76
print (bins .to_csv (sep = "\t " , index = False ))
77
77
78
78
@@ -90,5 +90,5 @@ def genecov(bins_path, db):
90
90
import pandas as pd
91
91
92
92
bins = pd .read_table (bins_path )
93
- bins = bioframe .tools . frac_gene_coverage (bins , db )
93
+ bins = bioframe .frac_gene_coverage (bins , db )
94
94
print (bins .to_csv (sep = "\t " , index = False ))
0 commit comments