Skip to content

Commit 78c18f8

Browse files
committed
2 parents 0eed1ad + 4344800 commit 78c18f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cooltools/cli/genome.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def digest(chromsizes_path, fasta_path, enzyme_name):
5050
"Some chromosomes mentioned in {}"
5151
" are not found in {}".format(chromsizes_path, fasta_path)
5252
)
53-
frags = bioframe.tools.digest(fasta_records, enzyme_name)
53+
frags = bioframe.digest(fasta_records, enzyme_name)
5454
print(frags.to_csv(sep="\t", index=False))
5555

5656

@@ -72,7 +72,7 @@ def gc(bins_path, fasta_path, mapped_only):
7272
"Some chromosomes mentioned in {}"
7373
" are not found in {}".format(bins_path, fasta_path)
7474
)
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)
7676
print(bins.to_csv(sep="\t", index=False))
7777

7878

@@ -90,5 +90,5 @@ def genecov(bins_path, db):
9090
import pandas as pd
9191

9292
bins = pd.read_table(bins_path)
93-
bins = bioframe.tools.frac_gene_coverage(bins, db)
93+
bins = bioframe.frac_gene_coverage(bins, db)
9494
print(bins.to_csv(sep="\t", index=False))

0 commit comments

Comments
 (0)