SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Downloaden Sie, um offline zu lesen
Biopython Project Update
     Peter Cock, Plant Pathology, SCRI, Dundee, UK
10th Annual Bioinformatics Open Source Conference (BOSC)
           Stockholm, Sweden, 28 June 2009
Contents

•  Brief introduction to Biopython & history
•  Releases since BOSC 2008
•  Current and future projects
•  CVS, git and github
•  BoF hackathon and tutorial at BOSC 2009
Biopython

•  Free, open source library for bioinformatics
•  Supported by Open Bioinformatics Foundation
•  Runs on Windows, Linux, Mac OS X, etc
•  International team of volunteer developers
•  Currently about three releases per year
•  Extensive “Biopython Tutorial & Cookbook”
•  See www.biopython.org for details
Biopython’s Ten Year History

1999 •  Started by Jeff Chang & Andrew Dalke
2000 •  First release, Biopython 0.90
2001 •  Biopython 1.00, “semi-complete”
 …    •  Biopython 1.10, …, 1.41
2007 •  Biopython 1.43 (Bio.SeqIO), 1.44
2008 •  Biopython 1.45, 1.47, 1.48, 1.49
2009 •  Biopython 1.50, 1.51beta
      •  OA Publication, Cock et al.
Biopython Publication – Cock et al. 2009




          N.B. Open Access!
November 2008 – Biopython 1.49

•  Support for Python 2.6
•  Switched from “Numeric” to “NumPy”
   (important Numerical library for Python)
•  More biological methods on core Seq object
April 2009 – Biopython 1.50

•  New Bio.Motif module for sequence motifs
   (to replace Bio.AliceAce and Bio.MEME)
•  Support for QUAL and FASTQ in Bio.SeqIO
   (important NextGen sequencing formats)
•  Integration of GenomeDiagram for figures
   (Pritchard et al. 2006)
Biopython 1.50 includes GenomeDiagram
                      De novo assembly
                      of 42kb phage from
                      Roche 454 data
                         “Feature Track”
                         showing ORFs

                         Scale tick marks

                         “Barchart Track” of
                         read depth (~100,
                         scale max 200)
Reading a FASTA file with Bio.SeqIO
>FL3BO7415JACDX	
TTAATTTTATTTTGTCGGCTAAAGAGATTTTTAGCTAAACGTTCAATTGCTTTAGCTGAA	
GTACGAGCAGATACTCCAATCGCAATTGTTTCTTCATTTAAAATTAGCTCGTCGCCACCT	
TCAATTGGAAATTTATAATCACGATCTAACCAGATTGGTACATTATGTTTTGCAAATCTT	
GGATGATATTTAATGATGTACTCCATGAATAATGATTCACGTCTACGCGCTGGTTCTCTC	
ATCTTATTTATCGTTAAGCCA	
>FL3BO7415I7AFR	
...	



from Bio import SeqIO	
for rec in SeqIO.parse(open("phage.fasta"), "fasta") :	
    print rec.id, len(rec.seq), rec.seq[:10]+"..."	


FL3BO7415JACDX   261   TTAATTTTAT...	
FL3BO7415I7AFR
FL3BO7415JCAY5
                 267
                 136
                       CATTAACTAA...	
                       TTTCTTTTCT...	                           Focus on the
FL3BO7415JB41R   208   CTCTTTTATG...	
FL3BO7415I6HKB
FL3BO7415I63UC
                 268
                 219
                       GGTATTTGAA...	
                       AACATGTGAG...	
                                                                filename and
...	
                                                                format (“fasta”)…
Reading a FASTQ file with Bio.SeqIO
@FL3BO7415JACDX	
TTAATTTTATTTTGTCGGCTAAAGAGATTTTTAGCTAAACGTTCAATTGCTTTAGCTGAAGTACGAGCAGATACTCCAATCGCAATTGTTTCTTC
ATTTAAAATTAGCTCGTCGCCACCTTCAATTGGAAATTTATAATCACGATCTAACCAGATTGGTACATTATGTTTTGCAAATCTTGGATGATATT
TAATGATGTACTCCATGAATAATGATTCACGTCTACGCGCTGGTTCTCTCATCTTATTTATCGTTAAGCCA	
+	
BBBB2262=1111FFGGGHHHHIIIIIIIIIIIIIIIIIIIIIIIFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFGGGFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFGGGGFFFFFFFFFFFFFFFFFGB
BBCFFFFFFFFFFFFFFFFFFFFFFFGGGGGGGIIIIIIIGGGIIIGGGIIGGGG@AAAAA?===@@@???	
@FL3BO7415I7AFR	
...	


from Bio import SeqIO	
for rec in SeqIO.parse(open("phage.fastq"), "fastq") :	
    print rec.id, len(rec.seq), rec.seq[:10]+"..."	
    print rec.letter_annotations["phred_quality"][:10], "..."	

FL3BO7415JACDX 261 TTAATTTTAT...	
[33, 33, 33, 33, 17, 17, 21, 17, 28,
FL3BO7415I7AFR 267 CATTAACTAA...	
                                       16] ...	
                                                                   Just filename and
[37, 37, 37, 37, 37, 37, 37, 37, 38,   38] ...	
FL3BO7415JCAY5 136 TTTCTTTTCT...	
[37, 37, 36, 36, 29, 29, 29, 29, 36,   37] ...	
                                                                   format changed
FL3BO7415JB41R 208 CTCTTTTATG...	
[37, 37, 37, 38, 38, 38, 38, 38, 37,   37] ...	                    (“fasta” to “fastq”)
FL3BO7415I6HKB 268 GGTATTTGAA...	
[37, 37, 37, 37, 34, 34, 34, 37, 37,   37] ...	
FL3BO7415I63UC 219 AACATGTGAG...	
[37, 37, 37, 37, 37, 37, 37, 37, 37,   37] ...	
...
June 2009 – Biopython 1.51 beta

•  Support for Illumina 1.3+ FASTQ files
   (in addition to Sanger FASTQ and older
   Solexa/Illumina FASTQ files)
•  Faster parsing of UniProt/SwissProt files
•  Bio.SeqIO now writes feature table in
   GenBank output
                         Already being used at SCRI
                         for genome annotation, e.g.
                         with RAST and Artemis
Google Summer of Code Projects

•  Eric Talevich - Parsing and writing phyloXML

  •  Mentors Brad Chapman & Christian Zmasek

•  Nick Matzke - Biogeographical Phylogenetics

  •  Mentors Stephen Smith, Brad Chapman & David Kidd

•  Hosted by NESCent Phyloinformatics Group

•  Code development on github branches...
Other Notable Active Projects

•  Brad Chapman – GFF parsing
•  Tiago Antão – Population genetics statistics
•  Peter Cock – Parsing Roche 454 SFF files
   (with Jose Blanca, co-author of sff_extract)
•  Plus other ongoing refinements and
   documentation improvements
Distributed Development

•  Currently work from a stable branch in CVS
•  CVS master is mirrored to github.com
•  Several sub-projects are being developed on
   github branches (in public)
•  This is letting us get familiar with git & github
•  Suggested plan is to switch from CVS to git
   summer 2009 (still hosted by OBF), continue
   to push to github for public collaboration
Acknowledgements
•  Other Biopython contributors & developers!
•  Open Bioinformatics Foundation (OBF)
   supports Biopython (and BioPerl etc)
•  Society for General Microbiology
   (SGM) for my travel costs
•  My Biopython work supported by:
  •  EPSRC funded PhD
     (MOAC DTC, University of Warwick, UK)
  •  SCRI (Scottish Crop Research Institute),
     who also paid my conference fees
What next?

•  This afternoon’s “Birds of a Feather” session:
         Biopython Tutorial and/or Hackathon

•  Sign up to our mailing list?




•  Homepage www.biopython.org

Weitere ähnliche Inhalte

Ähnlich wie Cock Biopython Bosc2009

Python 2 is dead! Drag your old code into the modern age
Python 2 is dead! Drag your old code into the modern agePython 2 is dead! Drag your old code into the modern age
Python 2 is dead! Drag your old code into the modern age
Becky Smith
 
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
Jeongkyu Shin
 
Bonnal bosc2010 bio_ruby
Bonnal bosc2010 bio_rubyBonnal bosc2010 bio_ruby
Bonnal bosc2010 bio_ruby
BOSC 2010
 

Ähnlich wie Cock Biopython Bosc2009 (20)

BOSC 2008 Biopython
BOSC 2008 BiopythonBOSC 2008 Biopython
BOSC 2008 Biopython
 
Biopython
BiopythonBiopython
Biopython
 
2015 bioinformatics bio_python
2015 bioinformatics bio_python2015 bioinformatics bio_python
2015 bioinformatics bio_python
 
Python 2 is dead! Drag your old code into the modern age
Python 2 is dead! Drag your old code into the modern agePython 2 is dead! Drag your old code into the modern age
Python 2 is dead! Drag your old code into the modern age
 
2016 bioinformatics i_bio_python_wimvancriekinge
2016 bioinformatics i_bio_python_wimvancriekinge2016 bioinformatics i_bio_python_wimvancriekinge
2016 bioinformatics i_bio_python_wimvancriekinge
 
Python Orientation
Python OrientationPython Orientation
Python Orientation
 
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
그렇게 커미터가 된다: Python을 통해 오픈소스 생태계 가르치기
 
Python Evolution
Python EvolutionPython Evolution
Python Evolution
 
BioRuby -- Bioinformatics Library
BioRuby -- Bioinformatics LibraryBioRuby -- Bioinformatics Library
BioRuby -- Bioinformatics Library
 
Teaching with JupyterHub - lessons learned
Teaching with JupyterHub - lessons learnedTeaching with JupyterHub - lessons learned
Teaching with JupyterHub - lessons learned
 
Bonnal bosc2010 bio_ruby
Bonnal bosc2010 bio_rubyBonnal bosc2010 bio_ruby
Bonnal bosc2010 bio_ruby
 
Introduction to FIWARE IoT
Introduction to FIWARE IoTIntroduction to FIWARE IoT
Introduction to FIWARE IoT
 
Package a PyApp as a Flatpak Package: An HTTP Server for Example @ PyCon APAC...
Package a PyApp as a Flatpak Package: An HTTP Server for Example @ PyCon APAC...Package a PyApp as a Flatpak Package: An HTTP Server for Example @ PyCon APAC...
Package a PyApp as a Flatpak Package: An HTTP Server for Example @ PyCon APAC...
 
PyCon Taiwan 2013 Tutorial
PyCon Taiwan 2013 TutorialPyCon Taiwan 2013 Tutorial
PyCon Taiwan 2013 Tutorial
 
Pharo 7.0 and 8.0 alpha
Pharo 7.0 and 8.0 alphaPharo 7.0 and 8.0 alpha
Pharo 7.0 and 8.0 alpha
 
Introduction Apache Kafka
Introduction Apache KafkaIntroduction Apache Kafka
Introduction Apache Kafka
 
fastp: the FASTQ pre-processor
fastp: the FASTQ pre-processorfastp: the FASTQ pre-processor
fastp: the FASTQ pre-processor
 
2015 bioinformatics python_io_wim_vancriekinge
2015 bioinformatics python_io_wim_vancriekinge2015 bioinformatics python_io_wim_vancriekinge
2015 bioinformatics python_io_wim_vancriekinge
 
New Features of Python 3.10
New Features of Python 3.10New Features of Python 3.10
New Features of Python 3.10
 
Git 101, or, how to sanely manage your Koha customizations
Git 101, or, how to sanely manage your Koha customizationsGit 101, or, how to sanely manage your Koha customizations
Git 101, or, how to sanely manage your Koha customizations
 

Mehr von bosc

Swertz Molgenis Bosc2009
Swertz Molgenis Bosc2009Swertz Molgenis Bosc2009
Swertz Molgenis Bosc2009
bosc
 
Bosc Intro 20090627
Bosc Intro 20090627Bosc Intro 20090627
Bosc Intro 20090627
bosc
 
Software Patterns Panel Bosc2009
Software Patterns Panel Bosc2009Software Patterns Panel Bosc2009
Software Patterns Panel Bosc2009
bosc
 
Schbath Rmes Bosc2009
Schbath Rmes Bosc2009Schbath Rmes Bosc2009
Schbath Rmes Bosc2009
bosc
 
Kallio Chipster Bosc2009
Kallio Chipster Bosc2009Kallio Chipster Bosc2009
Kallio Chipster Bosc2009
bosc
 
Welch Wordifier Bosc2009
Welch Wordifier Bosc2009Welch Wordifier Bosc2009
Welch Wordifier Bosc2009
bosc
 
Rice Emboss Bosc2009
Rice Emboss Bosc2009Rice Emboss Bosc2009
Rice Emboss Bosc2009
bosc
 
Prlic Bio Java Bosc2009
Prlic Bio Java Bosc2009Prlic Bio Java Bosc2009
Prlic Bio Java Bosc2009
bosc
 
Senger Soaplab Bosc2009
Senger Soaplab Bosc2009Senger Soaplab Bosc2009
Senger Soaplab Bosc2009
bosc
 
Hanmer Software Patterns Bosc2009
Hanmer Software Patterns Bosc2009Hanmer Software Patterns Bosc2009
Hanmer Software Patterns Bosc2009
bosc
 
Snell Psoda Bosc2009
Snell Psoda Bosc2009Snell Psoda Bosc2009
Snell Psoda Bosc2009
bosc
 
Procter Vamsas Bosc2009
Procter Vamsas Bosc2009Procter Vamsas Bosc2009
Procter Vamsas Bosc2009
bosc
 
Drablos Composite Motifs Bosc2009
Drablos Composite Motifs Bosc2009Drablos Composite Motifs Bosc2009
Drablos Composite Motifs Bosc2009
bosc
 
Fauteux Seeder Bosc2009
Fauteux Seeder Bosc2009Fauteux Seeder Bosc2009
Fauteux Seeder Bosc2009
bosc
 
Moeller Debian Bosc2009
Moeller Debian Bosc2009Moeller Debian Bosc2009
Moeller Debian Bosc2009
bosc
 
Wilczynski_BNFinder_BOSC2009
Wilczynski_BNFinder_BOSC2009Wilczynski_BNFinder_BOSC2009
Wilczynski_BNFinder_BOSC2009
bosc
 
Welsh_BioHDF_BOSC2009
Welsh_BioHDF_BOSC2009Welsh_BioHDF_BOSC2009
Welsh_BioHDF_BOSC2009
bosc
 
Varre_Biomanycores_BOSC2009
Varre_Biomanycores_BOSC2009Varre_Biomanycores_BOSC2009
Varre_Biomanycores_BOSC2009
bosc
 
Trelles_QnormBOSC2009
Trelles_QnormBOSC2009Trelles_QnormBOSC2009
Trelles_QnormBOSC2009
bosc
 
Rother_ModeRNA_BOSC2009
Rother_ModeRNA_BOSC2009Rother_ModeRNA_BOSC2009
Rother_ModeRNA_BOSC2009
bosc
 

Mehr von bosc (20)

Swertz Molgenis Bosc2009
Swertz Molgenis Bosc2009Swertz Molgenis Bosc2009
Swertz Molgenis Bosc2009
 
Bosc Intro 20090627
Bosc Intro 20090627Bosc Intro 20090627
Bosc Intro 20090627
 
Software Patterns Panel Bosc2009
Software Patterns Panel Bosc2009Software Patterns Panel Bosc2009
Software Patterns Panel Bosc2009
 
Schbath Rmes Bosc2009
Schbath Rmes Bosc2009Schbath Rmes Bosc2009
Schbath Rmes Bosc2009
 
Kallio Chipster Bosc2009
Kallio Chipster Bosc2009Kallio Chipster Bosc2009
Kallio Chipster Bosc2009
 
Welch Wordifier Bosc2009
Welch Wordifier Bosc2009Welch Wordifier Bosc2009
Welch Wordifier Bosc2009
 
Rice Emboss Bosc2009
Rice Emboss Bosc2009Rice Emboss Bosc2009
Rice Emboss Bosc2009
 
Prlic Bio Java Bosc2009
Prlic Bio Java Bosc2009Prlic Bio Java Bosc2009
Prlic Bio Java Bosc2009
 
Senger Soaplab Bosc2009
Senger Soaplab Bosc2009Senger Soaplab Bosc2009
Senger Soaplab Bosc2009
 
Hanmer Software Patterns Bosc2009
Hanmer Software Patterns Bosc2009Hanmer Software Patterns Bosc2009
Hanmer Software Patterns Bosc2009
 
Snell Psoda Bosc2009
Snell Psoda Bosc2009Snell Psoda Bosc2009
Snell Psoda Bosc2009
 
Procter Vamsas Bosc2009
Procter Vamsas Bosc2009Procter Vamsas Bosc2009
Procter Vamsas Bosc2009
 
Drablos Composite Motifs Bosc2009
Drablos Composite Motifs Bosc2009Drablos Composite Motifs Bosc2009
Drablos Composite Motifs Bosc2009
 
Fauteux Seeder Bosc2009
Fauteux Seeder Bosc2009Fauteux Seeder Bosc2009
Fauteux Seeder Bosc2009
 
Moeller Debian Bosc2009
Moeller Debian Bosc2009Moeller Debian Bosc2009
Moeller Debian Bosc2009
 
Wilczynski_BNFinder_BOSC2009
Wilczynski_BNFinder_BOSC2009Wilczynski_BNFinder_BOSC2009
Wilczynski_BNFinder_BOSC2009
 
Welsh_BioHDF_BOSC2009
Welsh_BioHDF_BOSC2009Welsh_BioHDF_BOSC2009
Welsh_BioHDF_BOSC2009
 
Varre_Biomanycores_BOSC2009
Varre_Biomanycores_BOSC2009Varre_Biomanycores_BOSC2009
Varre_Biomanycores_BOSC2009
 
Trelles_QnormBOSC2009
Trelles_QnormBOSC2009Trelles_QnormBOSC2009
Trelles_QnormBOSC2009
 
Rother_ModeRNA_BOSC2009
Rother_ModeRNA_BOSC2009Rother_ModeRNA_BOSC2009
Rother_ModeRNA_BOSC2009
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Cock Biopython Bosc2009

  • 1. Biopython Project Update Peter Cock, Plant Pathology, SCRI, Dundee, UK 10th Annual Bioinformatics Open Source Conference (BOSC) Stockholm, Sweden, 28 June 2009
  • 2. Contents •  Brief introduction to Biopython & history •  Releases since BOSC 2008 •  Current and future projects •  CVS, git and github •  BoF hackathon and tutorial at BOSC 2009
  • 3. Biopython •  Free, open source library for bioinformatics •  Supported by Open Bioinformatics Foundation •  Runs on Windows, Linux, Mac OS X, etc •  International team of volunteer developers •  Currently about three releases per year •  Extensive “Biopython Tutorial & Cookbook” •  See www.biopython.org for details
  • 4. Biopython’s Ten Year History 1999 •  Started by Jeff Chang & Andrew Dalke 2000 •  First release, Biopython 0.90 2001 •  Biopython 1.00, “semi-complete” … •  Biopython 1.10, …, 1.41 2007 •  Biopython 1.43 (Bio.SeqIO), 1.44 2008 •  Biopython 1.45, 1.47, 1.48, 1.49 2009 •  Biopython 1.50, 1.51beta •  OA Publication, Cock et al.
  • 5. Biopython Publication – Cock et al. 2009 N.B. Open Access!
  • 6. November 2008 – Biopython 1.49 •  Support for Python 2.6 •  Switched from “Numeric” to “NumPy” (important Numerical library for Python) •  More biological methods on core Seq object
  • 7. April 2009 – Biopython 1.50 •  New Bio.Motif module for sequence motifs (to replace Bio.AliceAce and Bio.MEME) •  Support for QUAL and FASTQ in Bio.SeqIO (important NextGen sequencing formats) •  Integration of GenomeDiagram for figures (Pritchard et al. 2006)
  • 8. Biopython 1.50 includes GenomeDiagram De novo assembly of 42kb phage from Roche 454 data “Feature Track” showing ORFs Scale tick marks “Barchart Track” of read depth (~100, scale max 200)
  • 9. Reading a FASTA file with Bio.SeqIO >FL3BO7415JACDX TTAATTTTATTTTGTCGGCTAAAGAGATTTTTAGCTAAACGTTCAATTGCTTTAGCTGAA GTACGAGCAGATACTCCAATCGCAATTGTTTCTTCATTTAAAATTAGCTCGTCGCCACCT TCAATTGGAAATTTATAATCACGATCTAACCAGATTGGTACATTATGTTTTGCAAATCTT GGATGATATTTAATGATGTACTCCATGAATAATGATTCACGTCTACGCGCTGGTTCTCTC ATCTTATTTATCGTTAAGCCA >FL3BO7415I7AFR ... from Bio import SeqIO for rec in SeqIO.parse(open("phage.fasta"), "fasta") : print rec.id, len(rec.seq), rec.seq[:10]+"..." FL3BO7415JACDX 261 TTAATTTTAT... FL3BO7415I7AFR FL3BO7415JCAY5 267 136 CATTAACTAA... TTTCTTTTCT... Focus on the FL3BO7415JB41R 208 CTCTTTTATG... FL3BO7415I6HKB FL3BO7415I63UC 268 219 GGTATTTGAA... AACATGTGAG... filename and ... format (“fasta”)…
  • 10. Reading a FASTQ file with Bio.SeqIO @FL3BO7415JACDX TTAATTTTATTTTGTCGGCTAAAGAGATTTTTAGCTAAACGTTCAATTGCTTTAGCTGAAGTACGAGCAGATACTCCAATCGCAATTGTTTCTTC ATTTAAAATTAGCTCGTCGCCACCTTCAATTGGAAATTTATAATCACGATCTAACCAGATTGGTACATTATGTTTTGCAAATCTTGGATGATATT TAATGATGTACTCCATGAATAATGATTCACGTCTACGCGCTGGTTCTCTCATCTTATTTATCGTTAAGCCA + BBBB2262=1111FFGGGHHHHIIIIIIIIIIIIIIIIIIIIIIIFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFGGGFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFGGGGFFFFFFFFFFFFFFFFFGB BBCFFFFFFFFFFFFFFFFFFFFFFFGGGGGGGIIIIIIIGGGIIIGGGIIGGGG@AAAAA?===@@@??? @FL3BO7415I7AFR ... from Bio import SeqIO for rec in SeqIO.parse(open("phage.fastq"), "fastq") : print rec.id, len(rec.seq), rec.seq[:10]+"..." print rec.letter_annotations["phred_quality"][:10], "..." FL3BO7415JACDX 261 TTAATTTTAT... [33, 33, 33, 33, 17, 17, 21, 17, 28, FL3BO7415I7AFR 267 CATTAACTAA... 16] ... Just filename and [37, 37, 37, 37, 37, 37, 37, 37, 38, 38] ... FL3BO7415JCAY5 136 TTTCTTTTCT... [37, 37, 36, 36, 29, 29, 29, 29, 36, 37] ... format changed FL3BO7415JB41R 208 CTCTTTTATG... [37, 37, 37, 38, 38, 38, 38, 38, 37, 37] ... (“fasta” to “fastq”) FL3BO7415I6HKB 268 GGTATTTGAA... [37, 37, 37, 37, 34, 34, 34, 37, 37, 37] ... FL3BO7415I63UC 219 AACATGTGAG... [37, 37, 37, 37, 37, 37, 37, 37, 37, 37] ... ...
  • 11. June 2009 – Biopython 1.51 beta •  Support for Illumina 1.3+ FASTQ files (in addition to Sanger FASTQ and older Solexa/Illumina FASTQ files) •  Faster parsing of UniProt/SwissProt files •  Bio.SeqIO now writes feature table in GenBank output Already being used at SCRI for genome annotation, e.g. with RAST and Artemis
  • 12. Google Summer of Code Projects •  Eric Talevich - Parsing and writing phyloXML •  Mentors Brad Chapman & Christian Zmasek •  Nick Matzke - Biogeographical Phylogenetics •  Mentors Stephen Smith, Brad Chapman & David Kidd •  Hosted by NESCent Phyloinformatics Group •  Code development on github branches...
  • 13. Other Notable Active Projects •  Brad Chapman – GFF parsing •  Tiago Antão – Population genetics statistics •  Peter Cock – Parsing Roche 454 SFF files (with Jose Blanca, co-author of sff_extract) •  Plus other ongoing refinements and documentation improvements
  • 14. Distributed Development •  Currently work from a stable branch in CVS •  CVS master is mirrored to github.com •  Several sub-projects are being developed on github branches (in public) •  This is letting us get familiar with git & github •  Suggested plan is to switch from CVS to git summer 2009 (still hosted by OBF), continue to push to github for public collaboration
  • 15. Acknowledgements •  Other Biopython contributors & developers! •  Open Bioinformatics Foundation (OBF) supports Biopython (and BioPerl etc) •  Society for General Microbiology (SGM) for my travel costs •  My Biopython work supported by: •  EPSRC funded PhD (MOAC DTC, University of Warwick, UK) •  SCRI (Scottish Crop Research Institute), who also paid my conference fees
  • 16. What next? •  This afternoon’s “Birds of a Feather” session: Biopython Tutorial and/or Hackathon •  Sign up to our mailing list? •  Homepage www.biopython.org