Skip to content
Snippets Groups Projects
Commit 3fbb71e9 authored by Blaise Li's avatar Blaise Li
Browse files

Allow custom info columns in counts table.

parent 4f5b9211
No related branches found
No related tags found
No related merge requests found
......@@ -280,11 +280,13 @@ might be excluded.
def make_counts_only(
counts_table,
seq_id_kw="locus_tag", alt_tag_kw="old_locus_tag"):
seq_id_kw="locus_tag", alt_tag_kw="old_locus_tag",
ref_info_cols=None):
"""
Integrate "informative" columns of *counts_table* into the index.
"""
# To ensure a stable order:
if ref_info_cols is None:
ref_info_cols = [
alt_tag_kw, seq_id_kw,
"start", "end", "length",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment