coalispr.bedgraph_analyze.references¶
Module for dealing with reference data.
Attributes¶
Functions¶
Return merged reference data, organized per binned chromosome. |
|
|
Return references separately to allow transposition. |
|
Return transposed references linked to specified reads. |
Module Contents¶
- coalispr.bedgraph_analyze.references.logger¶
- coalispr.bedgraph_analyze.references.retrieve_merged_reference()¶
Return merged reference data, organized per binned chromosome.
- coalispr.bedgraph_analyze.references.referencetrack(chrnam)¶
Return references separately to allow transposition.
- Parameters:
chrnam (str) – Name of chromosome for which RNA-seq data to return.
- Returns:
Tuple of dataframes, for PLUS and MINUS strand of chromosome
chrnam
, with transposed RNA-seq signals.- Return type:
pandas.DataFrame, pandas.DataFrame
- coalispr.bedgraph_analyze.references.filtered_referencetrack(chrnam, tag, specific=True)¶
Return transposed references linked to specified reads.
- Parameters:
chrnam (str) – Name of chromosome for which filtered, transposed RNA-seq data to return.
tag (str) – Flag TAG to indicate kind of aligned-reads to filter with, TAGUNCOLL or TAGCOLL.
specific (bool) – Flag to indicate what kind of reads to return data for; when True, for SPECIFIC reads, when False, for UNSPECIFIC reads.
- Returns:
Tuple of dataframes, for PLUS and MINUS strand of chromosome
chrnam
, with filtered and transposed RNA-seq signals.- Return type:
pandas.DataFrame, pandas.DataFrame