General classes and functions for wig/bigwig/gff parsing

common.parsing_routines.generic_classes.py

This module contains generic classes used in the other parsing routines.

module_version:1.0
created_on:2013-11-26

Generic Classes and functions using in both gff and wig/bigwig parsing

class parsing_routines.general_classes_and_functions.region(region_name, chrid, start, stop, strand=None, seq=None, seqtype=None, desc=None)[source]

A simple class for representing a a chromosome region

parsing_routines.general_classes_and_functions.openfile(fname)[source]

open and read a gzipped or uncompressed file

parsing_routines.general_classes_and_functions.generic_set_region(region_rep, start=None, stop=None, strand=None)[source]

Returns the input region, or builds one from the input details

This is used in several of the parsers including the anotation, and wigData classes