Getting Started

From Biopython
Revision as of 21:36, 19 January 2007 by Jblucks (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

--Jblucks 16:36, 19 January 2007 (EST): This page modeled after the one for bioperl

Contents

Download

See Getting BioPerl

Installation

See Installing BioPerl

Quick example

from Bio.Seq import Seq,translate
import Bio.SeqIO
 
#create a sequence object of some DNA
my_seq = Seq('CATGTAGATAG')
 
#print out some details about it
print 'seq is %i bases long' % len(my_seq)
print 'reverse complement is %s' % my_seq.reverse_complement().tostring()
 
#or see the whole record
print my_seq
 
#translate the sequence into a protein
my_protein = translate(my_seq)
 
print 'protein translation is %s' % my_protein.tostring()
print my_protein

Beginners

Further reading

  • Read the other HOWTOs
  • Use the Wiki Search tools to find more information on specific topics.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox