Feeds:
Posts
Comments

Archive for the ‘PubMed’ Category

Need Moar Speed

I guess I should be running things through the fine-toothed comb of careful analysis.
Current idea of file-level joins seems to not be going so well.
Really,  we ought to be able to do it all in memory…well,  given that there are 24355(2.4e4) terms,  that makes the co-occurrence matrix on the order of 4e8 … not completely [...]

Read Full Post »

Successfully generated the mesh-parent datafiles in reasonable time.  Loading all the results into a database results in a very large table (pubmed_mesh_parent) is slower but still reasonable.   Querying the table is still pretty slow right now – attempting to optimise the index (right now indexed on pmid,term,  so creating another index on term),  but feeling [...]

Read Full Post »

Plan of attack

Long term rewrite – Separate datafiles and workfiles from projectfiles to simplify backup
Will probably need a program to handle the join efficiently.
Thinking of writing in Python:
Read (mesh-child) file:
Each line converts to a dictionary entry (key=term) and add to the value (append to set)
(Reverse? Child is the key, parent is the set of [...]

Read Full Post »

Moar Speed

Since things are still chugging slowly on the servers,  started looking at ideas on how to make everything faster.   After all,  there’s more than a couple CPUs sitting around twiddling their fingers – I ought to think of ways to have them all play.   That and making the solution more scalable – too many [...]

Read Full Post »

Co-occurrence numbers

I’ll probably have to re-run the MeSH co-occurrence numbers,  due to errors (blech!) – looks like single quotes are no good,  I’ll have to go to double quotes.  Actually,  I can probably resubset it so that I do disease MeSH-MeSH co-occurrence,  since this is to compute disease profiles.  That should speed things up dramatically (by [...]

Read Full Post »

What we would like is a disease-specific MeSH term profile, i.e.
For a given disease,  which mesh terms are commonly associated.  The first step is finding how many references for a given MeSH term co-occur with the disease MeSH term.
Since MeSH has a structure,  this is more specifically (for a given disease term and a given [...]

Read Full Post »

Doh Moment

Very Important – medline baseline files are stored in a different directory than the updates. And here I thought they’d all gone away due to the end of year maintenance. Anyways, doing a high speed wget grab of all the baseline files…we’ll see how the processing goes.
On the flipside, all Pubmed articles with a [...]

Read Full Post »

Fetch!

Wrote up code to grab all the Disease Heading terms in Pubmed. This set is pretty huge, so it’ll be a good workout for the “real” PubMed set – we’re looking at over 8 million entries in gigantic XML format (PubMed entire is more than double that, but we’re within an [...]

Read Full Post »

Recoding in XSL

Given that some of the weirdness I’ve been experiencing has involved XML parsing oddities, what better than to switch over to somebody else’s XML parsing system (and then point fingers at them!) This problem probably isn’t going away, given the ubiquitousness of XML as interface language (it would have to be the [...]

Read Full Post »