Thursday, June 27, 2013

JavaScript Native Interface

https://developers.google.com/web-toolkit/doc/latest/DevGuideCodingBasicsJSNI

Coding Basics - JavaScript Native Interface (JSNI)

Often, you will need to integrate GWT with existing handwritten JavaScript or with a third-party JavaScript library. Occasionally you may need to access low-level browser functionality not exposed by the GWT class API's. The JavaScript Native Interface (JSNI) feature of GWT can solve both of these problems by allowing you to integrate JavaScript directly into your application's Java source code.

Direct Web Remoting

http://directwebremoting.org/dwr/index.html

DWR is a Java library that enables Java on the server and JavaScript in a browser to interact and call each other as simply as possible.

Wednesday, June 26, 2013

What does a starfish symbolize?

http://wiki.answers.com/Q/What_does_a_starfish_symbolize

 It is a story of a old man on the beach who sees a young boy walking along throwing starfish back in the ocean. The man tells the boy there are miles of stranded starfish, he won't make a difference. The boy throws another one back in the ocean and tells the old man that it made a difference to that one.


http://wiki.answers.com/Q/What_is_the_symbolism_of_the_starfish
once read as a symbol of healing and regeneration

 http://www.whats-your-sign.com/love-symbol-animal.html

Starfish:
 In Christian symbolism the Starfish represents the Virgin Mary (Stella Maris which means Star of the Sea) who lovingly creates safe travel over troubled waters and is also seen as an emblem of salvation during trying times. The star as well as the Starfish are seen as celestial symbols and as such, they represent infinite divine love. In addition to love, the Starfish also holds characteristics such as guidance, vigilance, inspiration, brilliance and intuition.

A Personal Search

http://www.genomeweb.com//node/1246466?utm_source=SilverpopMailing&utm_medium=email&utm_campaign=Daily%20Scan%20Blog:%20Genetic%20Testing%20Data,%20This%20Week%20in%20Nucleic%20Acids%20Research,%20Sequencing%20Cost,%20more%20-%2006/26/2013%2001:00:00%20PM

Using equipment he bought himself, Hugh Rienhoff got to the bottom of an apparently genetic syndrome affecting his daughter, writes Brendan Maher at Nature. Rienhoff, a biotech entrepreneur and trained geneticist, found a mutation in the gene encoding transforming growth factor-β3 in his daughter, Bea. Genes in the TGF-β pathway, Maher notes, have been linked to other diseases that have symptoms that overlap with Bea's.

http://www.scientificamerican.com/article.cfm?id=a-fathers-genetic-quest-pays-off 

Nature 449, 773–776; 2007 

Monday, June 24, 2013

Add program shortcuts to Ubuntu 12

http://howtoubuntu.org/how-to-edit-dash-application-results#.Uci4BXVDufg

After the program X has been added by following the steps above, launch program X in alacarte by clicking the ubuntu icon, search program X and click!

Java SE 7

http://www.oracle.com/technetwork/java/javase/jdk7-relnotes-418459.html#changes

Type Inference for Generic Instance Creation

You can replace the type arguments required to invoke the constructor of a generic class with an empty set of type parameters (<>) as long as the compiler can infer the type arguments from the context. This pair of angle brackets is informally called the diamond.
For example, consider the following variable declaration:
Map<String, List<String>> myMap = new HashMap<String, List<String>>();
In Java SE 7, you can substitute the parameterized type of the constructor with an empty set of type parameters (<>):
Map<String, List<String>> myMap = new HashMap<>();
 
http://www.eclipse.org/jdt/ui/r3_8/Java7news/whats-new-java-7.html 

Thursday, June 20, 2013

High-molecular-mass hyaluronan mediates the cancer resistance of the naked mole rat

http://www.nature.com/nature/journal/vaop/ncurrent/full/nature12234.html

The naked mole rat (Heterocephalus glaber) displays exceptional longevity, with a maximum lifespan exceeding 30years1, 2, 3. This is the longest reported lifespan for a rodent species and is especially striking considering the small body mass of the naked mole rat. In comparison, a similarly sized house mouse has a maximum lifespan of 4years4, 5. In addition to their longevity, naked mole rats show an unusual resistance to cancer. Multi-year observations of large naked mole-rat colonies did not detect a single incidence of cancer2, 6. Here we identify a mechanism responsible for the naked mole rat’s cancer resistance. We found that naked mole-rat fibroblasts secrete extremely high-molecular-mass hyaluronan (HA), which is over five times larger than human or mouse HA. This high-molecular-mass HA accumulates abundantly in naked mole-rat tissues owing to the decreased activity of HA-degrading enzymes and a unique sequence of hyaluronan synthase 2 (HAS2). Furthermore, the naked mole-rat cells are more sensitive to HA signalling, as they have a higher affinity to HA compared with mouse or human cells. Perturbation of the signalling pathways sufficient for malignant transformation of mouse fibroblasts fails to transform naked mole-rat cells. However, once high-molecular-mass HA is removed by either knocking down HAS2 or overexpressing the HA-degrading enzyme, HYAL2, naked mole-rat cells become susceptible to malignant transformation and readily form tumours in mice. We speculate that naked mole rats have evolved a higher concentration of HA in the skin to provide skin elasticity needed for life in underground tunnels. This trait may have then been co-opted to provide cancer resistance and longevity to this species.

How to Be a Leader in Your Field

http://polaris.gseis.ucla.edu/pagre/leader.html

(1) Pick an issue. You need an issue that the profession as a whole is not really thinking about, but which is going to be the center of attention in five years. 

(2) Having chosen your issue, start a project to study it. 

(3) Find relevant people and talk to them. First do your library work so you know any conventional wisdom that's out there. Then talk to some working professionals who are facing the issue, especially if they have spoken publicly about an aspect of it.

(4) Pull together what you've heard. Nobody is expecting you to solve the problems. Real working professionals do have to solve problems, of course, but right now the emphasis is more on questions than answers. 

(5) Circulate the result. Send copies to the people who helped you. Call it a draft or interim report if you want.

(6) Build on your work. Get invited to speak at meetings.


Leadership is process, and the whole point is that you're not figuring out all the answers yourself.

Another good way to start a brain trust is to organize a speaker series. Fearlessly assess your intellectual strengths and weaknesses, and then make professional friends whose intellectual strengths complement your own.

To succeed in your career, you need more than the skills that you got in school -- you need to be the world expert in something. Knowledge is global, it's growing exponentially, and nobody can pack all of the necessary knowledge into their head. So everyone's going to specialize. 

Monday, June 17, 2013

pheatmap

http://rgm3.lab.nig.ac.jp/RGM/r_function?p=pheatmap&f=pheatmap

library(pheatmap)

# Generate some data
test = matrix(rnorm(200), 20, 10)
test[1:10, seq(1, 10, 2)] = test[1:10, seq(1, 10, 2)] + 3
test[11:20, seq(2, 10, 2)] = test[11:20, seq(2, 10, 2)] + 2
test[15:20, seq(2, 10, 2)] = test[15:20, seq(2, 10, 2)] + 4
colnames(test) = paste("Test", 1:10, sep = "")
rownames(test) = paste("Gene", 1:20, sep = "")


# Generate column annotations
annotation = data.frame(Var1 = factor(1:10 %% 2 == 0, labels = c("Class1", "Class2")), Var2 = 1:10)
annotation$Var1 = factor(annotation$Var1, levels = c("Class1", "Class2", "Class3"))
rownames(annotation) = paste("Test", 1:10, sep = "")

pheatmap(test, annotation = annotation)

 

Java primefaces - Ajax framework with JSF components

http://primefaces.org/

Thursday, June 13, 2013

Supreme Court says isolated human genes cannot be patented

http://www.washingtonpost.com/politics/courts_law/supreme-court-says-human-genes-cannot-be-patented/2013/06/13/f7681b22-d436-11e2-b3a2-3bf5eb37b9d0_story.html?hpid=z1

Justice Clarence Thomas, who wrote the court’s decision, said that Myriad’s assertion — that the DNA it isolated from the body for its proprietary breast and ovarian cancer tests were patentable — had to be dismissed because it violates patent rules. The court has said that laws of nature, natural phenomena and abstract ideas are not patentable.
 
“We hold that a naturally occurring DNA segment is a product of nature and not patent eligible merely because it has been isolated,” Thomas said.

Tuesday, June 11, 2013

easyRNASeq

http://bioconductor.org/packages/2.12/bioc/vignettes/easyRNASeq/inst/doc/easyRNASeq.pdf

This file describes the use of the easyRNASeq package to ease the processing
of RNA-seq data in R/Bioconductor. RNA-seq [Mortazavi et al., 2008] was
introduced as a new method to perform Gene Expression Analysis, using the
advantages of the high throughput of Next-Generation Sequencing (NGS)
machines.

The goal of this vignette is, first, to show an example of the easyRNASeq
function that generates a count table for the selected genic features of inter-
est, i.e. exons, transcripts, gene models, etc. using the read data and the
genic and genomic annotations. This overall process is described in figure 1,
page 5. Shortly, the genomic and genic annotation will be retrieved from the
selected/preferred source and converted into an appropriate object. In par-
allel, the sequenced reads' information (e.g. chromosome, position, strand,
etc.) will be retrieved from the alignment file and, similarly, converted to
an appropriate object. Then, the reads contained in the reads object are
summarized per genic annotation contained in the annotation object, which
give raise to a count table that, finally, can be normalized using additional
R packages.