서울대 경영대, 2016 벤처창업웹프로그래밍1
(이하 벤1
), 파이썬 기말고사 시험문제입니다. 각자 한 번 풀어보세요.
이와 관련해서 질문이 있으신 분은 댓글 혹은 AskDjango 페이스북 그룹 에 질문을 남겨주세요.
벤1
은 파이썬 강의이며, 벤처창업웹프로그래밍2
(이하 벤2
) 의 선수과목입니다. 벤2
에서는 Django
웹프레임워크를 1학기 동안 다룹니다.
문제풀이도 공개했습니다. : https://github.com/askdjango/snu-web-2016-09/tree/master/finals
AskDjango 이진석
library(devtools) | |
library(sleuth) | |
library(dplyr) | |
library("biomaRt") | |
#load annotation from ensembl | |
ensembl = useMart("ENSEMBL_MART_ENSEMBL",dataset="mmusculus_gene_ensembl", host="www.ensembl.org") | |
t2g <- biomaRt::getBM(attributes = c("ensembl_transcript_id", "ensembl_gene_id", "external_gene_name"), mart = ensembl) | |
t2g <- dplyr::rename(t2g, target_id = ensembl_transcript_id, ens_gene = ensembl_gene_id, ext_gene = external_gene_name) | |
#change this directory as your directory |
The GCC distributed with CentOS 6 is 4.4.7, which is pretty outdated. I'd like to use gcc 4.8+. Also, when trying to install Linuxbrew you run into a dependency loop where Homebrew's gcc depends on zlib, which depends on gcc. Here's how I solved the problem.
Note: Requires sudo
privileges.
- http://superuser.com/a/676337/88393: Forum response on using CERN's open Scientific Linux distribution of RHEL's developer toolset.
- http://linux.web.cern.ch/linux/devtoolset/: CERN's developer toolset installation instructions.
$ wget http://people.centos.org/tru/devtools-2/devtools-2.repo -O /etc/yum.repos.d/devtools-2.repo | |
$ yum install devtoolset-2-gcc devtoolset-2-binutils | |
$ yum install devtoolset-2-gcc-c++ devtoolset-2-gcc-gfortran | |
영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^
아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.
package main | |
import ( | |
"bytes" | |
"fmt" | |
"log" | |
"os" | |
"strings" | |
"bufio" | |
"io" |
This is a tutorial I have presented for the class Genomics and Systems Biology at the University of Chicago. In this course the students learn about study design, normalization, and statistical testing for genomic studies. This is meant to introduce them to how these ideas are implemented in practice. The specific example is a differential expression analysis with edgeR starting with a table of counts and ending with a list of differentially expressed genes.
Past versions:
class ParseFastQ(object): | |
"""Returns a read-by-read fastQ parser analogous to file.readline()""" | |
def __init__(self,filePath,headerSymbols=['@','+']): | |
"""Returns a read-by-read fastQ parser analogous to file.readline(). | |
Exmpl: parser.next() | |
-OR- | |
Its an iterator so you can do: | |
for rec in parser: | |
... do something with rec ... |