genomicranges.io package¶
Submodules¶
genomicranges.io.gtf module¶
- genomicranges.io.gtf.parse_gtf(path, compressed, skiprows=None, comment='#')[source]¶
Read a GTF file as
DataFrame
.- Parameters:
- Returns:
Pandas DataFrame containing annotations from GTF.
- genomicranges.io.gtf.read_gtf(file, skiprows=None, comment='#')[source]¶
Read a GTF file as
GenomicRanges
.
genomicranges.io.ucsc module¶
- genomicranges.io.ucsc.access_gtf_ucsc(genome, type='refGene')[source]¶
Generate a path to a genome gtf file from UCSC, e.g. for hg19 genome.
- Parameters:
- Raises:
Exception, ValueError – When
type
does not match with a valid input.- Return type:
- Returns:
The URI to the file.
- genomicranges.io.ucsc.read_ucsc(genome, type='refGene')[source]¶
Load a genome annotation from UCSC as
GenomicRanges
.