Table of contents preview for Python for the Life Sciences

Biosystems Analytics

book-coverOur Amber Biology book Python For The Life Sciences is now nearing publication – we anticipate sometime in the early summer of 2016 for the publication date. As requested by many folks we are releasing the first draft of the table of contents.  If you’re interested in updates you can sign up for our book mailing list.  You can also checkout a preview chapter on Leanpub.

Python at the bench:
In which we introduce some Python fundamentals and show you how to ditch those calculators and spreadsheets and let Python relieve the drudgery of basic lab calculations (freeing up more valuable time to drink coffee and play Minecraft)

Building biological sequences:
In which we introduce basic Python string and character handling and demonstrate Python’s innate awesomeness for handling nucleic acid and protein sequences.

Of biomarkers and Bayes:
In which we discuss Bayes’ Theorem and implement it in Python, illustrating in the…

View original post 524 more words

Where is this cancer moonshot aimed?

Biosystems Analytics

Much has been made of the recent announcement of VP Biden’s cancer moonshot program.  In these days of ever tightening research funding, every little bit helps, and the research community is obviously grateful for any infusion of funds.   However, large-scale approaches to tackling cancer have been a staple of funding ever since Nixon announced his “War on Cancer” back in the 1970s, and any new approaches must grapple with the often complicated history of research funding in this area.  Ronin Institute Research Scholar, Curt Balch, has a interesting post over on LinkedIn breaking down some of these issues.

What seems relatively new in this iteration of the “war”, however, is a greater awareness of the lack of communication between different approaches to those working on cancer.  Biden has specifically mentioned this need and has pledged to “break down silos and bring all cancer fighters together”.  This…

View original post 536 more words

Hollywood’s take on Wall Street: The Big Systemic Corruption

The Big Short is just about the best film I’ve seen in quite a while. It’s as if Guy Ritchie and Michael Moore took some coke together and decided to make a film about the almost-complete financial meltdown of the world.  Based on Michael Lewis’ 2010 bestseller, it delves deeply into both the mechanics of the crash and the mentality that drove us there.  It doesn’t pander, isn’t emotionally overwrought and gives just about the best explanation that I’ve heard of a synthetic CDO thanks to Selena Gomez and behavioural economist Richard Thaler.

THE BIG SHORT

The casting is spot on with Steve Carrell giving an amazing career-defining performance.  It has a fast-based, but not overly hyper-kinetic style, and is leavened through with a kind of gallows-humour, as expected given director Adam McKay’s background in comedy.  It’s also a film that treats the underlying ideas seriously, but it also never feels too complicated and plot-driven, no mean feat for a director. 

Read More »

From The Secret River to Stan Grant’s debate

The current longest non-stop flight in the world is the Qantas route from Sydney to Dallas: 14.5 hours in the air in an Airbus A-380.  A couple of weeks ago I was sitting on  that Airbus flipping through the inflight entertainment system in that semi-catatonic state that all long-haul flights seem to induce, when I stumbled across an intriguingly-titled television series: The Secret River.  It turned out to be a two-part mini-series originally broadcast by the Australian Broadcasting Corporation based on a novel by author Kate Grenville.  The blurb promised an exploration of an emancipated convict in the early days of the colony of New South Wales, carving out a new life on the Hawkesbury River (the Secret River of the title).

I thought to myself, this seem promising, and settled back expecting a mildly diverting period piece about early Australian history that I had never seen dramatized.  I imagined it might be a little dry and slow, but would have great images of the bushland that I was familiar with growing up (the Hawkesbury is just a 20-30 minute drive away from where I grew up), I was interested to see how the producers recreated the early Australian colony, and at the very least it would while away about 3 of the remaining hours until touchdown in Dallas.  Instead I found myself watching a graphic and unsentimental depiction of the often brutal confrontation between the early European settlers and the indigenous people, the Australian Aborigines.Read More »

“Adventures in Transcription Factor Networks”: preview chapter from our book

Biosystems Analytics

As I blogged about previously my Amber Biology colleague, Gordon Webster and I are writing a book Python For The Life Sciences, and today we are releasing a sample chapter.

amazing-adventures In this chapter we show you how to extract and examine data generated from cellular interaction networks, sometimes affectionately known as “hairball” data. In particular, we’ll show  you an example of reading in data on transcription factor networks from yeast. We will take you through the steps of reading in files; creation of set data structures and simple queries.  To give you a flavour, here’s a brief extract from the Chapter (the full sample chapter is available as a PDF download):

A set, as you might recall from distantly remembered introductory maths classes, contains only unique members.  In the context of the data structures for transcription networks, this means for each transcription factor, we only need…

View original post 516 more words

Evolution finds a way: resistance to antibiotic of last resort

Biosystems Analytics

In the original Jurassic Park movie, Jeff Goldblum’s character, mathematician Ian Malcolm, became known for the phrase: “life finds a way“, referring to the chaotic behaviour of even the most simple systems.  Indeed, the entire movie becomes an exercise in unpacking the meaning of that statement when applied to reviving an entire ecosystem of dinosaurs.  The increasing resistance of pathogens to antibiotics over the last few decades, could be considered a real-world case of evolution finding a way.  It is also a good example of why evolution isn’t just about events of the dim, distant past, but very much the here and now.  I’m often puzzled that the word “evolution” isn’t used more often when describing this significant threat to global public health: a quick Google search shows approximately 11,000 mentions of the phrase “developing antibiotic resistance“, compared with only about 1,800 for “evolving…

View original post 339 more words

Life scientists: what are you looking to code?

Biosystems Analytics

My Amber Biology colleague, Gordon Webster, and I are working on an accessible introduction for biologists interested in getting into programming.  Python for the Life Scientists will cover an array of topics to introduce Python and also serve as inspiration for your own research projects.

But we’d also like to hear from you.

What are the life science research problems that you would tackle computationally, if you were able to use code?

You can contact us here in the comments, on info@amberbiology.com  or on the more detailed post:

“Are you still using calculators and spreadsheets for research projects that would be much better tackled with computer code?” on the Digital Biologist.

View original post

Connecting the cognitive dots in systems biology modeling

Biosystems Analytics

Building computational models in any discipline has many challenges starting at inclusion (what goes in, what’s left out), through to representation (are we keeping track of aggregate numbers, or actual individuals), implementation (efficiency, cost) and finally  verification and validation (is it correct?).  Creating entire modeling softwareplatforms intended for end-user scientists within a discipline brings an entirely new level of challenge.  Cognitive issues of representation within the modeling platform – always present when trying to communicate the content of a model to others – become one of the most central challenges.  To create modeling platforms that, say, a biologist might want to use, requires paying close attention to the idioms and metaphors used at the most granular level of biology: at the whiteboard, the bench, or even in the field.

Constructing such software with appropriate metaphors, visual or otherwise, requires close collaboration with working scientists at every…

View original post 402 more words

Resisting cheaters will be the big challenge for “platform cooperativism”

The promise of the Internet as a means to “level the playing field’ has seriously gone off the rails. A two-day conference at The New School that just wound up this last weekend, explored the emergence of platform cooperativism.  Platform cooperativism aims to return the democratic promise of the Internet away from the rapacious, heavily-leveraged extractive models of the so-called “sharing economy” such as Uber and AirBnB, and towards models of true user ownership and governance.  As pointed out in a set of 5 summary essays that appeared in The Nation, these are not (mainly) technical challenges but legal and political ones.  An example is FairCoop:

FairCoop is one among a whole slew of new projects attempting to create a more democratic Internet, one that serves as a global commons. These projects include user-owned cooperatives, “open value” companies structured like a wiki, and forms of community-based financing. Part of what distinguishes them from mainstream tech culture is the determination to put real control and ownership in the hands of the users. When you do that, the platform becomes what it always should have been: a tool for those who use it, not a means of exploiting them.

Many of these efforts will face an uphill battle, and as pointed out by Astra Taylor at the conference (she follows Douglas Rushkoff’s presentation in the video link), will probably be fiercely resisted by the newly entrenched platforms of Google, Facebook and the like.  But we can also say the same thing about those platforms many of which were just small upstarts back in the 1990s. The real challenge is one that is familiar to evolutionary biologists in game theory: building systems that reduce the chance of “invaders” or “cheaters” (in this case, rapacious VC firms and super-capitalism in general) from swamping a population of mutually beneficial co-operators (or turning those cooperators into cheaters). It doesn’t have to be, and could never be, perfect: you’ll never reduce the population of cheaters to zero, but at least keep them from taking over your population completely.

Read more about platform cooperativism at The Nation

Quantifying cost-effectiveness of scientific cloud computing in genomics and beyond

Biosystems Analytics

On-demand computing, often known as “cloud computing” provides access to the computing power of a large data center without having to maintain an in-house high performance computing (HPC) cluster, with attendent management and maintenance costs.  As even the most casual observers of the tech world will know, cloud computing is growing in any many sectors of the economy, including scientific research.  Cheap “computing as a utility” has the potential to bring many large-scale analyses within reach of smaller organizations that may lack the means or infrastructure to run a traditional HPC.  These organizations or individuals could include smaller clinics, hospitals, colleges, non-profit organizations and even individual independent researchers or groups of researchers.  But beyond the industry enthusiasm, how much can cloud computing really help enable low-cost scientific analyses?

There is now a veritable smorgasbord of offerings from many different vendors, but the big players are Amazon…

View original post 1,638 more words