Getting Started

From Biopython
(Difference between revisions)
Jump to: navigation, search
m (Reverted edits by Fab Carolina (talk) to last revision by Peter)
 
Line 1: Line 1:
Designing the most elaborates and expansive room to the smallest of living spaces, one common foundation remains. Good fabric.
+
==Download and Installation==
Upholstery and apparel fabric satisfies two of our five senses: sight and touch. Soft, smooth, knobby, rough, and countless colors abound in the thousands of designer fabric choices that Fabric Carolina carries.
+
  
Our website is designed to make your ideal designer fabric dreams easy to find. We have specifically crafted it for optimum searching by Type, Pattern, Style, Brand and Color. Just starting out? Don’t know where to start? We also provide a visual Yardage Guide and [http://www.fabriccarolina.com/fabric-glossary.html Fabric Glossary]. In conjunction with our Low Price Guarantee and Price Matching policy, purchasing your designer or apparel fabric anywhere else would be a risk you do not want to take.  
+
For Windows we provide click-and-run installers. Most Linux distributions will include an optional Biopython package (although this may be out of date). Otherwise you typically download and uncompress the archive, and install from source.  See our [[Download|downloads page]] for details including the prerequisites.
  
For over 10 years, Fabric Carolina has been cornering the interior design market, offering the finest, top quality indoor and outdoor designer fabrics in the widest variety of patterns, textures and colors that are available today.
+
You can check your installation has worked at the python prompt:
  
We carry the rarities of fabric such as fire retardant, mohair, multipurpose and even bedding fabric. Our expansive lines of products are carried directly from fabric and furniture manufacturers as well as to “Trade Only" designer fabric suppliers. The retail price in many cases can be several hundred dollars per yard. These companies are EXTREMELY high end and produce the "best of the best" furniture and fabric products available today. Our low price guarantee and frequent discounts on these products make them affordable and accessible to you. Our goal is to pass the incredible savings on to you with our generous and continuous discounts. 
+
<python>
 +
>>> import Bio
 +
</python>
  
We at Fabric Carolina pride ourselves on carrying the [http://fabriccarolina.livejournal.com/ newest designer fabrics] to hit the market. Robert Allen Fabric is a top shelf designer fabric line that we are proud to carry. Hundreds of styles, multitudes of patterns and a rainbow of colors are offered in our extensive selection of Robert Allen choices. Feathered, jeweled and pom-pom trims compliment the top quality indoor or outdoor fabric you’re looking for. And that is just ONE of the 37 top quality designer fabric lines we carry.  
+
If that gives no error, you should be done. If you get something like "ImportError: No module named Bio" something has gone wrong.
  
Whatever space you’re creating, you’ll want it to have a ‘wow’ factor. Whether it’s to enhance the space around your design or be the object of conversation, the flexibility fabric can give you to achieve these goals is key to making your design dreams a reality. Providing this with the newest designer fabrics to your doorstep is another one of our many goals as a company. All of our designer and apparel fabric is new and comes from a smoke free environment. Our [http://fabriccarolina.wordpress.com/ decorator fabric] will make an excellent addition to any home with its timeless, classic character and style of your choosing.
+
==Tutorial==
  
Please feel free to contact us by phone or email. You will get a live staff member that will be more than happy to answer any additional questions you may have about your purchase. We want you to be happy, satisfied and confident that you made the right choice in not only your purchase, but in the longstanding quality of our company.
+
The Biopython Tutorial and Cookbook ([http://biopython.org/DIST/docs/tutorial/Tutorial.html HTML], [http://biopython.org/DIST/docs/tutorial/Tutorial.pdf PDF]) contains the bulk of our documentation.  See [[Documentation]] for more links.
 +
 
 +
==Quick example==
 +
 
 +
Try executing this in python:
 +
<python>
 +
from Bio.Seq import Seq
 +
 
 +
#create a sequence object
 +
my_seq = Seq('CATGTAGACTAG')
 +
 
 +
#print out some details about it
 +
print 'seq %s is %i bases long' % (my_seq, len(my_seq))
 +
print 'reverse complement is %s' % my_seq.reverse_complement()
 +
print 'protein translation is %s' % my_seq.translate()
 +
</python>
 +
 
 +
You should get the following output:
 +
<pre>
 +
seq CATGTAGACTAG is 12 bases long
 +
reverse complement is CTAGTCTACATG
 +
protein translation is HVD*
 +
</pre>
 +
 
 +
This was a very quick demonstration of Biopython's [[Seq]] (sequence) object and some of its methods.
 +
 
 +
==Reading and writing Sequence Files==
 +
 
 +
Use the [[SeqIO]] module for reading or writing sequences as [[SeqRecord]] objects.  For multiple sequence alignment files, you can alternatively use the [[AlignIO]] module.
 +
 
 +
==Beginners==
 +
 
 +
* Learn how to program in [http://www.python.org Python]
 +
** [http://swaroopch.info/text/Byte_of_Python:Main_Page A Byte of Python]
 +
** [http://www.diveintopython.org/toc/index.html Dive Into Python]
 +
** [http://rgruet.free.fr/PQR25/PQR2.5.html Python Quick Reference]
 +
* Browse the [http://biopython.org/DIST/docs/tutorial/Tutorial.html Biopython Tutorial]
 +
* Read this paper <biblio>Bassi2007 pmid=18052533</biblio>
 +
* Examine the [http://biopython.org/DIST/docs/api Class Diagram] if you'd like to know more about the relationships between the modules.
 +
 
 +
==Further reading==
 +
 
 +
* Use the Wiki Search tools to find more information on specific topics.

Latest revision as of 07:58, 24 February 2014

Contents

Download and Installation

For Windows we provide click-and-run installers. Most Linux distributions will include an optional Biopython package (although this may be out of date). Otherwise you typically download and uncompress the archive, and install from source. See our downloads page for details including the prerequisites.

You can check your installation has worked at the python prompt:

>>> import Bio

If that gives no error, you should be done. If you get something like "ImportError: No module named Bio" something has gone wrong.

Tutorial

The Biopython Tutorial and Cookbook (HTML, PDF) contains the bulk of our documentation. See Documentation for more links.

Quick example

Try executing this in python:

from Bio.Seq import Seq
 
#create a sequence object
my_seq = Seq('CATGTAGACTAG')
 
#print out some details about it
print 'seq %s is %i bases long' % (my_seq, len(my_seq))
print 'reverse complement is %s' % my_seq.reverse_complement()
print 'protein translation is %s' % my_seq.translate()

You should get the following output:

seq CATGTAGACTAG is 12 bases long
reverse complement is CTAGTCTACATG
protein translation is HVD*

This was a very quick demonstration of Biopython's Seq (sequence) object and some of its methods.

Reading and writing Sequence Files

Use the SeqIO module for reading or writing sequences as SeqRecord objects. For multiple sequence alignment files, you can alternatively use the AlignIO module.

Beginners

  • Examine the Class Diagram if you'd like to know more about the relationships between the modules.

Further reading

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