IMP logo
IMP Reference Guide  2.16.0
The Integrative Modeling Platform
IMP.pmi.topology.Sequences Class Reference

A dictionary-like wrapper for reading and storing sequence data. More...

Inherits object.

Detailed Description

A dictionary-like wrapper for reading and storing sequence data.

Keys are FASTA sequence names, and each value a string of one-letter codes.

Note
This class is only available in Python.

Definition at line 956 of file pmi/topology/__init__.py.

Public Member Functions

def __init__
 Read a FASTA file and extract all the requested sequences. More...
 

Constructor & Destructor Documentation

def IMP.pmi.topology.Sequences.__init__ (   self,
  fasta_fn,
  name_map = None 
)

Read a FASTA file and extract all the requested sequences.

Parameters
fasta_fnsequence file
name_mapdictionary mapping the FASTA name to final stored name

Definition at line 960 of file pmi/topology/__init__.py.


The documentation for this class was generated from the following file: