Tuesday, February 10, 2015

variant, gene information from biomart R


# install
source("http://bioconductor.org/biocLite.R")
biocLite("biomaRt")
#document
#browseVignettes("biomaRt")
#load & attach package
library(biomaRt)
#Mart list.
listMarts()
SNP <- useMart("snp", "hsapiens_snp")
ensembl = useMart("ensembl",dataset="hsapiens_gene_ensembl")



Using ensembl, and snp database, you can get many information using biomart such as variant, gene, transcript.. etc.

1. snp database information using rsid of variant

attributes.snp <- c("refsnp_id","chr_name","allele", "chrom_start", "chrom_end", "chrom_strand","sift_score","polyphen_score","minor_allele","minor_allele_freq","ensembl_gene_stable_id","ensembl_transcript_stable_id", "consequence_allele_string","consequence_type_tv","ensembl_type")

rs = "rs115940994";
List <- getBM(attributes = attributes.snp, filters="snp_filter", values = rs, mart = SNP)
List

There are Chr, position, allel, SIFT score, Polyphen, MAF, ENSG, ENST,, AA change, variant type(consequence type) etc.. informations.

ex)




There are features that is important in my thought. but also you can get another information attributes using this command.

SNP <- useMart("snp", "hsapiens_snp")
listAttributes(SNP)




2. ensembl database information using ENSG

ensembl_gene <- c("ENSG00000204406")
mart<- useDataset("hsapiens_gene_ensembl", ensembl)
attributes=c("ensembl_gene_id","hgnc_symbol","ensembl_transcript_id","ensembl_peptide_id","refseq_mrna","refseq_peptide","phenotype_description")
List = getBM(filters= "ensembl_gene_id", attributes, values=ensembl_gene, mart= mart)
List



I think the below attribute lists is important.
"ensembl_gene_id" "hgnc_symbol" "ensembl_transcript_id" "ensembl_peptide_id" "refseq_peptide" "uniprot_swissprot" "description" "go_id" "phenotype_description"

but you can get more informations using this command
# ensembl = useMart("ensembl",dataset="hsapiens_gene_ensembl")
#listAttributes(ensembl)

Saturday, February 7, 2015

seoul national university graduate school tuition





I'm graduate student in seoul national university graduate school.

The above figure is graduate school tuition in 2013.



My major is in Natural sciences, so I upload my tuition paper.


With Entrance fee and tuition fee, my tuition is 3,998,000 won.
366.72 US dolllars.



Seoul National University Kwanjeong Library - second Central Library



It's the southern building used as reading room.
Green carpet, and tables look good
Really spacious and comfortable.




It's the passage between northern and southern building in 5 floor.



The computer lab of the 6 floor.
There will be scanners and copiers.




Wonderful ceiling and ponds.
When you tired at studing, just take a rest.
You feel better.



Really large and spacious reading room.
It looks like a movie scene of matrix


Wood chair? I don't know usage of that.


In 7 floor, the concept of bookcase is 'The Nobel Prize for Literature collection'.
Each bookcase was displayed by concept and theme.



Cubicle desk(?), roughly 30 there are. If you want to use, you need to book this room at online snu-library site or information dsek.


8 floor reading room. really large.



At the top of the bookcase, there are hardcover foregin books.
Not that much demand.


Light stnad(?) in 8 floor reading room



Toilets. Clean~



Multimedia classrooms on the first floor.




The screen is showing the booking status in real time.






You can take a rest and take a nap here.


The seminar room.
The wall seems to be easy to write and erase using a board marker (?).






It's the rooftop terrace linking a old library.



4 floors also 40 seminar rooms there are.
There's no possibility that I can't get a seminar due to the lack of that.


I don't know why, but the screen is showing a exchange rate with a booking status.




thanks.