ChemSpider Magic with LASSO

Of late I have been concerned with R&D information and various homebrew means of storing it and retrieving it. Institutionalizing R&D results into easily accessed knowledge can roll into a real hairball if you’re not careful. More on that another time.

My adventures with CHETAH 9.0 have caused me to look deeply into SMILES strings and what utility might be found there. This lead me to rediscover ChemSpider and the many services it provides for free to the user.

Consider the following: if you generate a SMILES structure of acetylsalicylic acid, say, from Chemdraw, O=C(O)C1=C(OC(C)=O)C=CC=C1, and use this character string as a search term in ChemSpider, it will take you to the entry for aspirin. What you get is a treasure trove of information on this substance. Go to ChemSpider, cut and paste the above SMILES string into the search box, and let her rip. I’m not your Momma. Just try it.

The breadth of references is encyclopedic.  But the truly amazing part is found when you scroll to the end of the page. There is a drop down window for SimBioSys LASSO. ChemSpider is working to provide LASSO data on its large database of compounds.  LASSO generates a structure and grinds it through a neural net processor module and produces a score between zero and one. The closer the score is to 1.00, the greater the surface conformity or compatibility of the ligand to a target receptor site.  As you would expect, there is a high score associated with aspirin and the COX-1 receptor. From what I can tell, the software is self-learning in some fashion.

The uses are many. Substances can be screened for drug-like attributes within the 40 receptor types provided.  I would like to hear from someone who might have something to say about the use of LASSO for the estimation of possible toxic effects of substances that have not been biologically tested. I fully realize the hazards of this, but perhaps LASSO scores might help flag particular substances for closer examination by testing.

Adrift in Cheminformatics Space. CHETAH 9.0 Fails with Some ChemSketch SMILES Strings.

The ASTM software Chemical Thermodynamic and Energy Release version 9.0, CHETAH 9.0, has many useful features for calculating thermodynamic values of substances.  My interest is in the (gas phase) calculation of ΔHf, limiting oxygen concentration, lower flammability level, Cp, entropy, ΔG, maximum heat of decomposition, net plosive density, ΔHc, and minimum ignition energy. The package claims to have the largest known database of Bensen group values at 965 entries.

I would have supplied links but the WordPress Editor is on the fritz. One more bloody software “issue”. – ‘th Gaussling

I recently upgraded from CHETAH 8.0 to 9.0 because 8.0 is incompatible with Windows 7.  These upgrades are a kilobuck a pop so they can be a budgetary surprise. After I upgraded I noted that 9.0 is not compatible with Windows 7 either!! Luckily I have a couple of lab computers that are still XP systems and therefore compatible with 9.0.  The folks at the University of South Alabama write and support CHETAH.

I understand from private communication that CHETAH 10.0 is in the works in anticipation of the release of Windows 8. Oh joy. I hope that some effort will be put into the user interface and general robustness. My question is this- what about those of us who will be using Windows 7 for the next few years? Will rev 10.0 be compatible? Will it have click and drag features or more of a DOS accent like the current rev?

One of the features that is nice about CHETAH is that it accepts SMILES strings as data input.  It parses the string into known Benson groups and flags unknown groups.  Previously I had been entering smiles strings from ChemDraw 7.0, an ancient but still useful version. Lately I have been evaluating ChemSketch freeware.  And lucky for me, I found another hole to stumble into.

SMILES is not inflexible in its syntax, apparently.  ChemDraw will convert a structure to a SMILES string that is different in its sequence from the identical structure drawn by ChemSketch.  I have found that CHETAH 9.0 will consistently accept SMILEs string entries from ChemDraw, but with only some ChemSketch SMILES strings.

Consider the following SMILES strings of the same structure-  5-Bromo-7-tert-butoxy-3-methyl-3H-isobenzofuran-1-one. The nomenclature is from Chemdraw. I do not use this compound- I dreamed it up as an example.

ChemDraw 7.0–  O=C2OC(C)C1=CC(Br)=CC(OC(C)(C)C)=C12

ChemSketch 12–  CC(C)(C)Oc1cc(Br)cc2c1C(=O)OC2C

The ChemDraw SMILES string is accepted by CHETAH 9.0 and parsed into Benson groups, but when you attempt to process the data it gives a “Run-time error 9” warning and then closes the program. From what I can tell, CHETAH 9.0 will only accept 9 Benson groups because when you clip off functional groups, it will accept the string for the next step. However, it still shuts down and indicates another error saying “subscript out of range”. I don’t know why this happens and the handbook does bnot seem to list errors. The programmer put the error routines in the program, but I guess was too busy to tell anyone what they mean.

The ChemSketch SMILES string above is not accepted at all.

I cannot justify switching to ChemSketch for several reasons and this is one of them.  The ChemSketch editor is generally balky compared to the smooth operation of ChemDraw. However, I must say that ChemSketch is very feature rich and has gotten much better. If I wasn’t already committed to ChemDraw (and Chem3D) I’d strongly consider it.

CHETAH seems to have limitations on the number of Benson groups it will accept for a molecule. It seems to require a particular edition of SMILES syntax. And, the user interface is is balky and antiquated.  I’ll try to uninstall CHETAH and reinstall it. That said, it still seems … brittle.

From what I can piece together by googling SMILES, the system has been evolving. Apparently, chemical graphics software out there has captured particular editions of SMILES at the time when their revision is released.  It would be nice if some international standard were in place to devise an enduring syntactical structure. Seems like something CAS could help with.

CT Scans. Who is monitoring a patient’s radiation dose?

The matter of medical x-radiation dosing is surfacing again. I wrote a post about this in 2009.

Let’s get to the core of the matter. Physicians need to take charge of this since only they have any real control. It’s a pretty goddamned simple concept. Doc’s who are calling for x-ray’s need to begin recording calculated dosing from this hazardous energy. If it is too troublesome for them, then the x-ray techs should record the information.

CT scanning seems to be problematic. There is no business incentive to hold back on CT use in for-profit settings. I suppose that documentation would only reveal the extent and magnitude of x-ray use. It would be fodder for malpractice law firms.

I can just see the billboards- Have you or a loved one ever gotten a tan from x-rays? If you have, call Dooleysquat, Schwartz and Schmuck for a free consultation. Do it Now!

Comments on the history of oxidants

Today we know that the chemical elements are capable of showing a range of behaviors in the category of reduction and oxidation (redox). Unlike our predecessors who attempted to wrap their arms around redox phenomena without the benefit of data or atomic theory, we are able to refer to tables of information which give details on the magnitude of redox phenomena and allow us to predict outcomes of transformations.

Reduction and oxidation has always been with us and for most of human history we were blissfully unaware of it as a distinct and complementary phenomenon. Beyond the conduct of redox in biology, for most of human history the major use of redox as a tool was combustion.  I would argue that humans began to do chemistry in earnest when we learned to generate fire and use it at will.  The introduction of fire allowed humans to apply significant thermal energy to materials in contrast to mechanical energy. Thermal energy changed the composition of materials in a way that was visible to us. With fire we could boil, dry, pyrolyze, combust, sinter, fracture and melt materials.  Food once cooked was forever changed. The combustion of wood produced much heat, charcoal, and ash.

Fire could provide warmth and destruction. It could be used as a weapon of war. The Chinese would become renowned for their command of deflagrations, explosions, rocketry, as would the Greeks for their Greek fire.  Chinese adepts learned to produce deflagration and explosions with energetic redox compositions centuries before the Europeans. With the spread of gunpowder formulation around the world, the problem of finding it’s components would plague adopters of this technology.

The basic rules of controlling fire were determined very early in human history. Some things burned and other things didn’t. The effects of air might have been inferred by the simple act of lighting kindling and blowing on it. Blowing on an ember can sustain it for a time and gives rise to increased heat. Fire can be accelerated by blowing air on it but may also be extinguished by too much wind. Clues to the basic nature of fire were there all along, but we lacked vocabulary, theory, and analysis.

The color of a wood fire can range from yellow/orange to bright yellow and it can warm you from a distance. Smoke was something that issued from fire and was perhaps troublesome. Fire and smoke always seem to rise upwards. More clues to to the behavior of matter, but as before, we lacked the tools of science until only in the last few centuries.

Today we can use atomic and quantum theory, thermodynamics, and the physics of radiation and buoyancy to explain and quantify fire and its many attributes. Today we can confidently state that a fire requires an initiation (the energy source), a reductant (the fuel), and an oxidizer (air). I think early man would have had a fairly concrete understanding of heat source and fuel. But the need for an oxidizer may have been less obvious. After all, air is all around us and is invisible. Nobody knew about the fire triangle or Smokey the Bear.

The development of oxidizers as a class of substances whose participation in chemical change was held back owing to the obscurity of the concept and the lack of a good theoretical basis like atomic theory.  Humans had been perishing by suffocation forever. Everyone has experienced the effects of oxygen deprivation whether it was by running from a sabretooth tiger or holding ones breath on a dare. But without the knowledge of oxygen and its function in respiration or in combustion, oxidation was the answer waiting for the right question.

Reducing materials as fuels for combustion or for the reduction of metal ores to the metal was common knowledge for a very long time. The introduction of oxidizing materials beyond the ever present air around us was a much harder nut to crack.  If we set the oxygen in air aside and focus on strongly oxidizing substances, we can begin to see the development of oxidizers as a class of materials.

One of the earliest oxidizers to find use was nitrate, commonly called saltpeter or nitre. Nitre was found in some damp locations that were rich in decaying organic materials. Nitre beds were often observed as having a white crust that migrated to the surface of the ground.  Early references of these nitre beds come from China and India. Nitre was capable of having multiple counter-ions. The early users of nitre were unaware of this of course. Later in history, makers of gunpowder would come to prefer potassium nitrate over the sodium salt owing to it’s lower aptitude for hydration. Hydrated saltpeter will passivate gunowder.  The story of gunpowder is well documented and the reader can pursue that trail on their own.

The discovery of oxygen in 1772 by Scheele could be considered a major step in the development of oxidation technology. While chemists were misguided by the theory of phlogiston, the isolation of a substance that supported combustion was a crucial conceptual leap.  Scheele and later Priestly would show that this new “air” would support combustion. In 1774 the discovery of chlorine by Scheele was the next major oxidizer to be identified. Chlorine was produced by the action of HCl on MnO2 (pyrolusite).  The bleaching effect of Cl2 gas was soon discovered by Scheele. The discovery of Cl2 soon lead to the discovery of bleaching powders. The earliest bleaching powder composition comprised of lime and chlorine was patented in 1798 by Charles Tennant in England. By the close of the 18th century, three important oxidizing compositions were produced: oxygen, chlorine, and calcium hypochlorite.  Chlorine and lime bleaching powder went into mass production at the beginning of the 19th century.

In a real sense, the development of oxidizers is very much like the invention of the lever. A level is used to amplify mechanical force. An oxidizing agent is used to amplify the extractive force on valence electrons. A strong oxidizing agent is able to bring energy to bare on select transformations that might not be otherwise available.  With the advent of this kind of transformation, new possibilities unfolded in history. By the middle of the 19th century, molecules with pendant oxidizing groups would be capable of self reaction to produce tremendous outbursts of energy. Nitroglycerine is one such molecule containing both reducing groups and oxidizing groups in one molecule. Oxidizers and oxidizing functional groups would change how we dig tunnels, extract minerals, carve canals, wage war, and eventually, compress uranium or plutonium into a critical mass for a nuclear explosion.

Some good career advice from Bill Carroll

At our annual ACS Colorado section banquet for local high school students and their teachers, we invited Bill Carroll to be the guest speaker.  Carroll gave a good talk with pertinent advice on starting and grooming ones technical career. I won’t repeat all of it, but a few good points stand out.

Carroll began the talk by highlighting the differences between commodity and specialty products. Then he transitioned into the suggestion that careers can be partitioned into specialty and commodity categories as well. His argument was that jobs can become commoditized just like gasoline and that, like any commodity, choices as to who fills the position may be made from a crowd of indistinguishable candidates. And, like commodities, the salary paid to such workers may be beaten down by excess supply.

However you stretch analogy, the point was that it might be best to have core skills embellished with secondary and diverse abilities.

Transit of Venus

I hope folks out there had a chance to view the transit of Venus across the solar disk yesterday.  I was lucky enough to see it through a 6 inch refractor and a Coronado H-alpha solar telescope. It’s always fun to see celestial mechanics in operation.

NASA has a video of the transit acrosst the sun taken at various wavelengths. Evidence of sunspot activity is much more pronounced at these wavelengths.

Kansas tries harder to drown the beast.

I know there are a lot of smart people in Kansas. It’s just that they tend not to end up in elective office there. The latest examples of Kansas-being-Kansas are staggering. Take for example the matter of Gov. Brownback’s massive tax cut on business profits.  From what I understand by reading news material from the corporate controlled news media, Kansas, under Brownback and the GOP controlled legislature, have managed to end taxes on business income.  The fact that Koch Industries is based in Wichita is more than a little coincidental, I’m guessing.

Evidently the GOP “leaders” in the KS legislature have been dueling it out with Missouri, awarding tax incentives for companies to move across the border to the Kansas side. This kind of fratricidal fiduciary hijinks is not uncommon. All states are eager to raid other states for businesses.  Tax concessions are the pieces-of-eight in this interstate piracy. Our states are in a race to the bottom in their pursuit of business transplants.

Of interest relating to Kansas is this little nugget.  AMC Entertainment Inc. announced that it is moving to Leawood, KS, from the Missouri side. But, about the same time it was announced that the Dalian Wanda Group would buy AMC Entertainment. Dalian Wanda Group is about to reap the benefits of Brownback’s tax policy by operating in KS.  A Chinese company makes one of the largest buyouts of a US company and lands just in time in the Kansas tax haven.

Let me speak plainly. A Chinese company owns a largish US company headquartered in Kansas will be taking advantage of infrastructure put in place over generations by hard working Kansans and US citizen taxpayers. All have contributed in many ways to Kansas infrastructure by way of grants for electrification, roads & highways, universities, military bases, as well as protection by all of the branches of the US military.  This Chinese company will enjoy greatly reduced tax liabilities by operating in Kansas. The controlling stockholders are Chinese and will benefit from operation within US borders at the expense of Kansans as a result of the Kansas GOP. These foreign owners will instead allow their employees to contribute to the public coffers.

The burden for expenses related to responsibilites previously administered by the state will be unpooled and relocalized.  The purpose and benefit of taxation has been that pooling funds can bring the benefits of civilization to the state without having to rely on the Darwinistic forces of the market. It is ironic that a state so rabidly against evolution has embraced such a Darwinistic approach to social policy.

The stated intent of GOP leaders (like Dick Army, etc.) cloaked  behind the curtain has been to “drown the beast”. That is, kill federal and state government by unfunding it. You do that by electing serial government haters like Gov. Brownback and possibly by having the Koch boys behind the scenes pulling strings. Not only has Kansas stuffed a dagger in the chest of civic administration of government services, they have opened the pipeline for profits to stream out of the US from a state tax haven from the operation of a corporation by a Chinese conglomerate.

The Kansas GOP has accelerated the transition of power from a constitutionally backed system with structural transparency to the private concentration of power with no transparency and no civic obligation.  Way to go boys. The full import of this should be evident in a generation when most of the GOP legislators who enacted this shit sandwich will be long gone.

Make no mistake. The GOP euphamism of “drowning the beast” is really about the transfer of power from the many to the few. The slogans about liberty and freedom are a plush teddy bear for the masses of low information voters to embrace. Power is in the ability to allocate resources. As the public loses its ability to allocate resources, it loses power. As private or corporate interests accumulate resources, their ability to exercise power rises.  There is nothing new here. Power always concentrates.

[Note:  A copy of this essay appears in the Daily Kos.]

Facebook IPO- Not a banner day

The IPO of Facebook stock on friday was a bad business day on two accounts.  Most obviously, the anticipated share price “pop” didn’t happen by the end of the trading day. FB shares opened at $38.00 per share and ended the day at $38.23 per share.  According to Andrew Bary at Barron’s, early investors paid an average of $1 per share. With lockup provisions on 1.8 billion shares expiring in the August to November time-frame, large scale selling could drive down share prices later in the year.

The Barron’s article quoted a tech trader who said

“Like most IPOs in tech land, Facebook is geared toward enriching early investors and employees while sticking public investors with shares burdened with poor voting rights and high growth expectations.”

There is nothing new in this statement of condition. Cashing in one’s shares in a risky investment of time and money in a startup is a commonly executed means of capturing reward. Risk takers are entitled to a payoff when a venture achieves success.

But this trader’s sentiment reveals something deeper about business and it’s role in our culture. This was a public offering of fractional ownership whose sole means of income is advertising. It is clearly designed to transfer future risk to public investors who have precious little voice in corporate governance.

Facebook has offered public investors a kind of sh*t sandwich: A chance to buy into a public corporation that is structurally configured to retain controlling interest by one of the founders.

Has Facebook created wealth or is it just capturing the market share of other advertisers? Facebook, like Google, is a creature of advertising. And, like Google, it is a magic version of the Yellow Pages that automatially anticipates or finds the listings you may want. But it is more than that. It is a directory that supplies the listings it wants you to have. Instead of the full page ads of the advertising print period where trees were actually pulped to provide something called “paper”, today’s ads are hot links to the advertisers website.

Facebook and Google are really just newer versions of the old circus of broadcasting. Broadcasters supply eyeballs and ears to adverisers who then have tens of seconds to mesmerize viewers and listeners with their magic. It is like rattling a stick in a bucket of swill. Facebook supplies amusement as a so-called social network and Google supplies entertainment as well as utilitarian services.

It was also a bad business day for broadcasters covering the FB IPO.  All of the cable television business progamming was set on this blessed and much anticipated initial public offering. Regrettably, the event was delayed for technical reasons until mid day EDT. When the stock was finally released, “experts” were standing by to render their opinion on the last 20 seconds of market activity.  Like all stock market data, it is marked by a jittery, noisy curve, sometimes trending upwards and then downwards.  Over one minute anything looks like a trend.

Faced with the possibility of hours of air time to fill before something exciting happens, the CNBC talking heads natter on and on with a variety of experts who natter on and on. All-the-while stock footage of the NYSE floor and the post-pubescent hoodie-boy CEO of FB loop cycles endlessly. For this we allocate broadcast spectrum?

In the end, there was no excitement. FB closed the day pennies above to where it started. I like to think this is because investors aren’t as foolish as the cynical people who are behind the offering believe on the opening day, at least.

An excellent analysis of Facebook valuation has been posted by Aswath Damodaran, Professor of Finance at NYU.

Thursday Miscellany

There is a nice post at NeuroChambers on doing a PhD.  It’s well worth the read for those who may be contemplating the form of self-abuse called “grad school”. Getting a PhD has more to do with adopting a 24/7 lifestyle than getting a diploma. The diploma is just your journyman’s card to get you to your mining claim where you have to set up your sluice all over again and begin sifting for nuggets.

Gold, silver, copper, and molybdenum discovered in Haiti. Majescor Resources report favorable initial findings. Yow! That’s good news for somebody.

Friday (tomorrow) night is opening night for our play. In it I play a farmer of root vegetables … for the second time no less. I farmed Beets, previously, and a giant potato this time.  The story relates to an article in the September 28, 1895, issue of Scientific American, p 199, showing the potato and the farmer that I portray. The play is written in 19th century American English vernacular and has been a little vexing for the whole cast to adapt to. This will be the first performance of this play, so no one really knows what to expect by way of audience reaction. Our last play with this writer, Beets, was quite successful and well regarded.

In any case, final rehearsal is tonight. The set is complete, costumes fitted, special effects worked out, and light and sound cues set. We’re the first theatre crew to use the remodeled facility, so everyone is psyched. It’s a real trip to be in the blackened back stage and wings, dim blue lights illuminating the walkways, while waiting for your cue to walk onto a live stage with an audience in the seats.

High Speed, Self-Balancing, Intercity Rail Transport

May 7, 2012. Guapo, Arizona.  Imagine gliding down the steel tracks at 85 mph on your personal 2-wheel, self-balancing transport. Officials from Thrombax Transport and Burlington Northern San Simeon met at Pultroon University and negotiated an agreement to develop high speed personal rail for owners of the Segway two-wheeled personal transport. An upgrade to be made available will allow operators of two-wheel self-balancing tranport to mate their vehicles to standard gauge rail and operate on the rail system.

The new transportation mode will be limited to the northern tier of states initially.  It is anticipated that speeds of 120 mph along the rail will be possible eventually, making ground transit across the more tiresome flyover states tolerable.

According to a paper published by Pultroon University assistant adjunct Professor Harman van Hemp in the Japanese journal Bull. Shitsu Jpn, 2010, 19, 20134, the theoretical maximum speed of a 2-wheeled self-balancing vehicle is limited by lateral instability problems associated with the inner rim of the rail wheel. Prof van Hemp has devised an aerodynamic stabilizing control surface built into the fire retardant trousers of the operator. The stabilizer is actuated by a swing of the operators hip. Wind tunnel testing at Pultroon University has shown that the device is effective in subsonic flows up to a Mach number of 0.67.  While the technology is being refined by Thrombax, the all important line of merchandising and apparel is being subcontracted.