Trees | Indices | Help |
---|
|
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
Gets a Bio::Seq object by its name Example: seq = db.get_Seq_by_id('ROA1_HUMAN') |
Gets a Bio::Seq object by accession number Example: seq = db.get_Seq_by_acc('X77802') |
Gets a Bio::Seq object by version number Example: seq = db.get_Seq_by_ver('X77802.1') |
Gets a *list* of Bio::Seq objects by accession number Example: seqs = db.get_Seq_by_acc('X77802') |
Array of all the primary_ids of the sequences in the database. These maybe ids (display style) or accession numbers or something else completely different - they *are not* meaningful outside of this database implementation. |
Gets a Bio::Seq object by the primary (internal) id. The primary id in these cases has to come from $db->get_all_primary_ids. There is no other way to get (or guess) the primary_ids in a database. |
Load a set of SeqRecords into the BioSQL database. record_iterator is either a list of SeqRecord objects, or an Iterator object that returns SeqRecord objects (such as the output from the Bio.SeqIO.parse() function), which will be used to populate the database. fetch_NCBI_taxonomy is boolean flag allowing or preventing connection to the taxonomic database on the NCBI server (via Bio.Entrez) to fetch a detailed taxonomy for each SeqRecord. Example: from Bio import SeqIO count = db.load(SeqIO.parse(open(filename), format)) Returns the number of records loaded. |
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Dec 25 10:43:48 2008 | http://epydoc.sourceforge.net |