Package Bio :: Package ExPASy :: Module cellosaurus
[hide private]
[frames] | no frames]

Module cellosaurus

source code

Parser for the cellosaurus.txt file from ExPASy.

See https://web.expasy.org/cellosaurus/

Tested with the release of Version 18 (July 2016).

Functions:
Classes:

Examples

>>> from Bio.ExPASy import cellosaurus
>>> handle = open("cellosaurus.txt")
>>> records = cellosaurus.parse(handle)
Classes [hide private]
  Record
Holds information from an ExPASy Cellosaurus record as a Python dictionary.
Functions [hide private]
 
parse(handle)
Parse cell line records.
source code
 
read(handle)
Read one cell line record.
source code
 
__read(handle) source code
Variables [hide private]
  __package__ = None
hash(x)
Function Details [hide private]

parse(handle)

source code 

Parse cell line records.

This function is for parsing cell line files containing multiple records.

Arguments:
  • handle - handle to the file.

read(handle)

source code 

Read one cell line record.

This function is for parsing cell line files containing exactly one record.

Arguments:
  • handle - handle to the file.