{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "collapsed": true
   },
   "source": [
    "Introduction\n",
    "\n",
    "Barrett’s oesophagus (BE) is a well-established risk factor for developing oesophageal adenocarcinoma (EAC). BE is defined by the replacement of normal squamous epithelium by columnar lined epithelium with intestinal metaplasia (1, 2), a major complication of gastroesophageal reflux disease (GERD). EAC is a highly lethal cancer with an overall median survival of < 1 year especially in cases with an advanced stage of the disease. Over the past 5 decades, the incidence of oesophageal cancer has been increasing, of which EAC contributed to over 50% of the cases. It is believed that 1-2% of the general population suffers from BE that eventually progresses to invasive EAC in a step-wise fashion. Therefore, understanding the process of metaplasia and dysplasia in BE has major implications in both screening methods and potential treatments (3). \n",
    "The process of metaplasia plays a central role in the development of BE and EAC progression. Metaplasia is defined as the process wherein one adult cell type replaces another, with chronic tissue injury being a major driver. The diagnostic procedure of BE requires two observations in order to confirm the presence of columnar metaplasia. Endoscopic observations should indicate the displacement of squamous epithelium by columnar mucosa extending above the gastroesophageal junction, and an oesophageal biopsy should be taken to confirm the presence of columnar metaplasia. Endoscopy defines the extent of oesophageal columnar metaplasia that can be separated into long-segment or short-segment BE (> 3 cm or < 3 cm of columnar metaplasia, respectively). Histological findings can eventually establish the degree of dysplasia, defined by low-grade dysplasia (LGD) and high-grade dysplasia (HGD) (4, 5). Despite advances in genetic and molecular markers, the degree of dysplasia is currently the best marker to predict progression to EAC and further management. Managing strategies have raised several issues throughout the years, such as inter-observer variability among pathologists, variable natural history outcomes between different populations, need for risk stratification, and determining ideal candidates likely to benefit from endoscopic eradication therapy compared with surveillance. Therefore, how to manage LGD has been a matter of debate for several years (6). \n",
    "By understanding the mechanism of metaplasia in BE, more insights will be generated in search for a biomarker and better management strategies in people with BE. Much focus has been on defining the regulators of the metaplastic process that induces the intestinal phenotype. Different strategies have been implied in the search for these gene regulatory mechanisms. Since the process of developing BE involves intestinal metaplasia in the oesophagus, much attention has been paid around determinants of intestinal identity with the emphasis on transcription factors (TFs) CDX1 and CDX2 that specify the embryonic intestine (7). Forced expression of CDX1 or CDX2 has shown to induce ectopic intestinal differentiation in mouse stomach, although this was not the case per se. Therefore, not only the activation of specific genes seem to play a role, but also the loss of oesophageal specific genes (8).\n",
    "This project aims at identifying gene regulatory networks by using a dataset derived from NCBI. This dataset will be analysed by applying both RNA-seq and ChIP-seq. The article from which the dataset is retrieved, identified SOX15 as a transcription factor involved in the regulation of stratified epithelial cells. By applying bioinformatics procedures, gene expression data will be extracted from raw fastq files and compared among different conditions to evaluate the consequences of SOX15 silencing.  \n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "Results\n",
    "\n",
    "After retrieving the raw fastq data from NCBI, a quality control (QC) was performed. Figure 1 shows the results of the QC performed on the Control_1.fastq file. These data show that some conditions are not sufficient. Since the reads were aligned with spliced transcripts alignment to a reference (STAR) software, trimming of the reads was not necessary as STAR soft clips the reads. In a following step SAM files were converted to BAM files and indexed. Figure 2 shows the BAM files in IGV. This figure shows the reads of each condition mapped against the reference genome. Following differential expression analyses, WTAPP1 was downregulated by SOX15 inhibition, which can be clearly seen in the amount reads mapped to the genome compared to both control conditions. \n",
    "Figure 3 shows the log transformed variance between all four conditions. As expected, variation between two duplicates is much lower compared to the other condition. Therefore, it clearly indicates the differences in counts between all conditions. \n",
    "Figure 4 illustrates an MA plot of all genomic date, which indicates the differential expressed genes in red. Of all differential expressed genes, two separated files were generated that housed either the downregulated or upregulated genes. These were derived by ranking the genes according to log fold change (logfc), in which upregulated was defined by logfc > 1, and downregulated by logfc < -1 (with p adjusted < 0.05). The differential analysis was performed in such a way that a positive logfc correlated with upregulated genes in the SOX15 inhibited conditions and a negative logfc with downregulated genes in SOX15 inhibition. These ranked gene lists were eventually used for gene ontology (GO) purposes. For GO an online tool was chosen (Humanmine) that used the downregulated gene list to generate a GO enrichment list. The results of GO enrichment after submitting the downregulating genes to Humanmine are shown in figure 5. This list shows the significant (p < 0.05, Holm-Bonferroni correction for multiple testing) GO terms and the number of matched genes. Most GO terms involve regulatory processes involving cell division and cell migration. But further down in the list is mentioned epithelium development (GO:0060429, figure 5), with 139 matches, which is especially interesting in terms of this project. When evaluating the list of matches, TP63 can be identified as being downregulated, a well-known regulator of stratified epithelia differentiation (9). \n",
    "Besides Humanmine, also Webgestalt was used to generate a bar chart of the biological process (figure 6). This chart gives a clear overview of the number of genes corresponding to a specific biological process. \n",
    "\n",
    "Next, the downregulated genes were applied in iRegulon, a program that detects master regulators of biological processes and maps their downstream gene network. Results derived from the analysis showed that not SOX15 is defined as the master regulator of this gene dataset, but DDIT3, FOXM1, and E2F4 were among the top three transcription factors. DDIT3 was rated with the highest normalized enrichment score, targeting 410 genes with 6 different motifs. Figure 7 illustrates the motif with the highest normalized enrichment score (NES) for DDIT3 identified by iRegulon. These 410 genes were extracted and used to determine GO (Humanmine), which showed that genes regulated by DDIT3 are involved in tissue and epithelium development (figure 8). This indicates that the inhibition of SOX15 downregulates pathways that are related to tissue development, which gives an indication of the potential involvement of SOX15 in tissue development. \n",
    "\n",
    "In the following analysis ChIP-seq was performed to identify the target regions of SOX15 and its implications. Figures 9 gives an overview of the potential regulatory elements identified by SOX15 ChIP-seq (results generated by DIRE software). This clearly indicates that the largest proportion of regulatory elements is defined by promoter regions followed by intergenic regions. Furthermore, the SOX TF family is also identified among the top 10 candidate TFs based on the ChIP-seq peaks (figure 10). These results show that there is a potential role of SOX15 in regulating gene expression, since promoter regions compose the largest part of the regulatory elements. \n",
    "Finally, an additional analysis was performed by using i-cisTarget software. Peaks of the ChIP-seq analysis were applied and 464 enriched features were identified with a NES > 3.0. Figure 11 shows the motif of the highest ranked (NES 9.18) TFs, JUN and FOS. This indicates that the peaks identified by ChIP-seq can be explained by several TFs. Besides these TFs, also SOX15 was identified with a NES of 4.35, of which the motif is shown in figure 12. \n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "\n",
    "Conclusion\n",
    "The RNA-seq and ChIP-seq analysis showed that SOX15 downregulation led to a gene expression profile that is related to cell proliferation and differentiation. Although SOX15 seems to play a role in this network, the gene expression data showed that SOX15 was not the master regulator in this network. It seems that multiple genes and TFs have a significant role in generating the specific squamous epithelium phenotype. Therefore, more research should be performed in order to obtain a complete regulatory network of gene expression to gain more insight in the process of metaplasia. \n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "vdb-config -s /repository/user/main/public/root=~/data/ncbi"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "/home/luna.kuleuven.be/r0612109/data/work\r\n"
     ]
    }
   ],
   "source": [
    "cd ~/data/work\n",
    "pwd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Read 26074097 spots for SRR1804795\r\n",
      "Written 26074097 spots for SRR1804795\r\n",
      "Read 28521182 spots for SRR1804794\r\n",
      "Written 28521182 spots for SRR1804794\r\n",
      "Read 50842252 spots for SRR1804793\r\n",
      "Written 50842252 spots for SRR1804793\r\n",
      "Read 37947498 spots for SRR1804792\r\n",
      "Written 37947498 spots for SRR1804792\r\n",
      "Read 38467683 spots for SRR1804791\r\n",
      "Written 38467683 spots for SRR1804791\r\n",
      "Read 31138520 spots for SRR1804790\r\n",
      "Written 31138520 spots for SRR1804790\r\n"
     ]
    }
   ],
   "source": [
    "fastq-dump --split-files SRR1804795\n",
    "fastq-dump --split-files SRR1804794\n",
    "fastq-dump --split-files SRR1804793\n",
    "fastq-dump --split-files SRR1804792\n",
    "fastq-dump --split-files SRR1804791\n",
    "fastq-dump --split-files SRR1804790"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": []
    }
   ],
   "source": [
    "mv SRR1804795_1.fastq Input_ChIP-seq.fastq\n",
    "mv SRR1804794_1.fastq SOX15_ChIP-seq.fastq\n",
    "mv SRR1804793_1.fastq SOX15i_2.fastq\n",
    "mv SRR1804792_1.fastq SOX15i_1.fastq\n",
    "mv SRR1804791_1.fastq Control_2_RNA-seq.fastq\n",
    "mv SRR1804790_1.fastq Control_1_RNA-seq.fastq"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Control_1_RNA-seq.fastq  Input_ChIP-seq.fastq  SOX15i_1.fastq\r\n",
      "Control_2_RNA-seq.fastq  SOX15_ChIP-seq.fastq  SOX15i_2.fastq\r\n"
     ]
    }
   ],
   "source": [
    "ls *.fastq"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Started analysis of Control_1_RNA-seq.fastq\r\n",
      "Approx 5% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 10% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 15% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 20% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 25% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 30% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 35% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 40% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 45% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 50% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 55% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 60% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 65% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 70% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 75% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 80% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 85% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 90% complete for Control_1_RNA-seq.fastq\r\n",
      "Approx 95% complete for Control_1_RNA-seq.fastq\r\n",
      "Analysis complete for Control_1_RNA-seq.fastq\r\n"
     ]
    }
   ],
   "source": [
    "/usr/local/bin/FastQC/fastqc -o . Control_1_RNA-seq.fastq"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Jan 27 20:17:31 ..... started STAR run\r\n",
      "Jan 27 20:17:31 ..... loading genome\r\n",
      "Jan 27 20:17:32 ..... started mapping\r\n",
      "Jan 27 20:29:18 ..... finished successfully\r\n"
     ]
    }
   ],
   "source": [
    "STAR --genomeDir /mnt/nfs/mfiers/STAR/hg19_star_db \\\n",
    "     --genomeLoad LoadAndKeep \\\n",
    "     --runThreadN 2 \\\n",
    "     --readFilesIn Control_1_RNA-seq.fastq \\\n",
    "     --outFileNamePrefix Control_1_RNA-seq."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Jan 27 20:32:37 ..... started STAR run\r\n",
      "Jan 27 20:32:37 ..... loading genome\r\n",
      "Jan 27 20:32:37 ..... started mapping\r\n",
      "Jan 27 20:47:24 ..... finished successfully\r\n"
     ]
    }
   ],
   "source": [
    "STAR --genomeDir /mnt/nfs/mfiers/STAR/hg19_star_db \\\n",
    "     --genomeLoad LoadAndKeep \\\n",
    "     --runThreadN 2 \\\n",
    "     --readFilesIn Control_2_RNA-seq.fastq \\\n",
    "     --outFileNamePrefix Control_2_RNA-seq."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Jan 28 07:15:26 ..... started STAR run\r\n",
      "Jan 28 07:15:26 ..... loading genome\r\n",
      "Jan 28 07:15:26 ..... started mapping\r\n",
      "Jan 28 07:34:00 ..... finished successfully\r\n"
     ]
    }
   ],
   "source": [
    "STAR --genomeDir /mnt/nfs/mfiers/STAR/hg19_star_db \\\n",
    "     --genomeLoad LoadAndKeep \\\n",
    "     --runThreadN 2 \\\n",
    "     --readFilesIn SOX15i_1.fastq \\\n",
    "     --outFileNamePrefix SOX15i_1."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Jan 28 07:34:17 ..... started STAR run\r\n",
      "Jan 28 07:34:17 ..... loading genome\r\n",
      "Jan 28 07:34:17 ..... started mapping\r\n",
      "Jan 28 07:57:21 ..... finished successfully\r\n"
     ]
    }
   ],
   "source": [
    "STAR --genomeDir /mnt/nfs/mfiers/STAR/hg19_star_db \\\n",
    "     --genomeLoad LoadAndKeep \\\n",
    "     --runThreadN 2 \\\n",
    "     --readFilesIn SOX15i_2.fastq \\\n",
    "     --outFileNamePrefix SOX15i_2."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[bam_sort_core] merging from 14 files...\r\n",
      "[bam_sort_core] merging from 17 files...\r\n",
      "[bam_sort_core] merging from 15 files...\r\n",
      "[bam_sort_core] merging from 21 files...\r\n"
     ]
    }
   ],
   "source": [
    "samtools sort -o Control_1_RNA-seq.bam Control_1_RNA-seq.Aligned.out.sam\n",
    "samtools sort -o Control_2_RNA-seq.bam Control_2_RNA-seq.Aligned.out.sam\n",
    "samtools sort -o SOX15i_1.bam SOX15i_1.Aligned.out.sam\n",
    "samtools sort -o SOX15i_2.bam SOX15i_2.Aligned.out.sam"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": []
    }
   ],
   "source": [
    "samtools index Control_1_RNA-seq.bam\n",
    "samtools index Control_2_RNA-seq.bam\n",
    "samtools index SOX15i_1.bam\n",
    "samtools index SOX15i_2.bam"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Control_1_RNA-seq.bam\t   Control_2_RNA-seq.bam.bai  SOX15i_2.bam\r\n",
      "Control_1_RNA-seq.bam.bai  SOX15i_1.bam\t\t      SOX15i_2.bam.bai\r\n",
      "Control_2_RNA-seq.bam\t   SOX15i_1.bam.bai\r\n"
     ]
    }
   ],
   "source": [
    "ls *.ba[mi]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "chrM\t16571\t3904453\t0\r\n",
      "chr1\t249250621\t4142196\t0\r\n",
      "chr2\t243199373\t1871504\t0\r\n",
      "chr3\t198022430\t1385178\t0\r\n",
      "chr4\t191154276\t874076\t0\r\n",
      "chr5\t180915260\t2001716\t0\r\n",
      "chr6\t171115067\t1357701\t0\r\n",
      "chr7\t159138663\t1950936\t0\r\n",
      "chr8\t146364022\t885327\t0\r\n",
      "chr9\t141213431\t1358927\t0\r\n",
      "chr10\t135534747\t1146130\t0\r\n",
      "chr11\t135006516\t1728797\t0\r\n",
      "chr12\t133851895\t1947971\t0\r\n",
      "chr13\t115169878\t495331\t0\r\n",
      "chr14\t107349540\t787467\t0\r\n",
      "chr15\t102531392\t860888\t0\r\n",
      "chr16\t90354753\t1302082\t0\r\n",
      "chr17\t81195210\t2491199\t0\r\n",
      "chr18\t78077248\t265922\t0\r\n",
      "chr19\t59128983\t1058967\t0\r\n",
      "chr20\t63025520\t1124024\t0\r\n",
      "chr21\t48129895\t475063\t0\r\n",
      "chr22\t51304566\t490638\t0\r\n",
      "chrX\t155270560\t690338\t0\r\n",
      "chrY\t59373566\t93510\t0\r\n",
      "*\t0\t0\t0\r\n"
     ]
    }
   ],
   "source": [
    "samtools idxstats SOX15i_1.bam"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "lrwxrwxrwx 1 r0612109 domain users 56 jan 28 09:13 gencode.v19.nopseudo.plus.sort.gtf -> /mnt/nfs/data/RNA-seq/gencode.v19.nopseudo.plus.sort.gtf\r\n"
     ]
    }
   ],
   "source": [
    "ln -sf /mnt/nfs/data/RNA-seq/gencode.v19.nopseudo.plus.sort.gtf ~/data/work\n",
    "ls -l *gtf"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\r\n",
      "       \u001b[44;37m ========== \u001b[0m\u001b[36m    _____ _    _ ____  _____  ______          _____  \r\n",
      "       \u001b[44;37m =====      \u001b[0m\u001b[36m   / ____| |  | |  _ \\|  __ \\|  ____|   /\\   |  __ \\ \r\n",
      "       \u001b[44;37m   =====    \u001b[0m\u001b[36m  | (___ | |  | | |_) | |__) | |__     /  \\  | |  | |\r\n",
      "       \u001b[44;37m     ====   \u001b[0m\u001b[36m   \\___ \\| |  | |  _ <|  _  /|  __|   / /\\ \\ | |  | |\r\n",
      "       \u001b[44;37m       ==== \u001b[0m\u001b[36m   ____) | |__| | |_) | | \\ \\| |____ / ____ \\| |__| |\r\n",
      "       \u001b[44;37m ========== \u001b[0m\u001b[36m  |_____/ \\____/|____/|_|  \\_\\______/_/    \\_\\_____/\u001b[0m\r\n",
      "\tv1.5.0-p1\r\n",
      "\r\n",
      "//==========================\u001b[36m featureCounts setting \u001b[0m===========================\\\\\r\n",
      "||  \u001b[0m                                                                          ||\r\n",
      "||             Input files : \u001b[36m4 BAM files  \u001b[0m \u001b[0m                                   ||\r\n",
      "||                           \u001b[32mS\u001b[36m Control_1_RNA-seq.bam\u001b[0m \u001b[0m                         ||\r\n",
      "||                           \u001b[32mS\u001b[36m Control_2_RNA-seq.bam\u001b[0m \u001b[0m                         ||\r\n",
      "||                           \u001b[32mS\u001b[36m SOX15i_1.bam\u001b[0m \u001b[0m                                  ||\r\n",
      "||                           \u001b[32mS\u001b[36m SOX15i_2.bam\u001b[0m \u001b[0m                                  ||\r\n",
      "||  \u001b[0m                                                                          ||\r\n",
      "||             Output file : \u001b[36mRNA-seq.counts\u001b[0m \u001b[0m                                  ||\r\n",
      "||             Annotations : \u001b[36mgencode.v19.nopseudo.plus.sort.gtf (GTF)\u001b[0m \u001b[0m        ||\r\n",
      "||  \u001b[0m                                                                          ||\r\n",
      "||                 Threads : \u001b[36m1\u001b[0m \u001b[0m                                               ||\r\n",
      "||                   Level : \u001b[36mmeta-feature level\u001b[0m \u001b[0m                              ||\r\n",
      "||              Paired-end : \u001b[36mno\u001b[0m \u001b[0m                                              ||\r\n",
      "||         Strand specific : \u001b[36mno\u001b[0m \u001b[0m                                              ||\r\n",
      "||      Multimapping reads : \u001b[36mnot counted\u001b[0m \u001b[0m                                     ||\r\n",
      "|| Multi-overlapping reads : \u001b[36mnot counted\u001b[0m \u001b[0m                                     ||\r\n",
      "||       Read orientations : \u001b[36mfr\u001b[0m \u001b[0m                                              ||\r\n",
      "||  \u001b[0m                                                                          ||\r\n",
      "\\\\=====================\u001b[36m http://subread.sourceforge.net/ \u001b[0m======================//\r\n",
      "\r\n",
      "//=================================\u001b[36m Running \u001b[0m==================================\\\\\r\n",
      "||  \u001b[0m                                                                          ||\r\n",
      "|| Load annotation file gencode.v19.nopseudo.plus.sort.gtf \u001b[0m... \u001b[0m               ||\r\n",
      "||    Features : \u001b[36m1156385\u001b[0m \u001b[0m                                                     ||\r\n",
      "||    Meta-features : \u001b[36m41863\u001b[0m \u001b[0m                                                  ||\r\n",
      "||    Chromosomes/contigs : \u001b[36m25\u001b[0m \u001b[0m                                               ||\r\n",
      "||  \u001b[0m                                                                          ||\r\n",
      "|| Process BAM file Control_1_RNA-seq.bam... \u001b[0m                                 ||\r\n",
      "||    Single-end reads are included. \u001b[0m                                         ||\r\n",
      "||    Assign reads to features... \u001b[0m                                            ||\r\n",
      "||    Total reads : \u001b[36m32446761\u001b[0m \u001b[0m                                                 ||\r\n",
      "||    Successfully assigned reads : \u001b[36m22182986 (68.4%)\u001b[0m \u001b[0m                         ||\r\n",
      "||    Running time : \u001b[36m0.60 minutes\u001b[0m \u001b[0m                                            ||\r\n",
      "||  \u001b[0m                                                                          ||\r\n",
      "|| Process BAM file Control_2_RNA-seq.bam... \u001b[0m                                 ||\r\n",
      "||    Single-end reads are included. \u001b[0m                                         ||\r\n",
      "||    Assign reads to features... \u001b[0m                                            ||\r\n",
      "||    Total reads : \u001b[36m40031094\u001b[0m \u001b[0m                                                 ||\r\n",
      "||    Successfully assigned reads : \u001b[36m26671576 (66.6%)\u001b[0m \u001b[0m                         ||\r\n",
      "||    Running time : \u001b[36m0.77 minutes\u001b[0m \u001b[0m                                            ||\r\n",
      "||  \u001b[0m                                                                          ||\r\n",
      "|| Process BAM file SOX15i_1.bam... \u001b[0m                                          ||\r\n",
      "||    Single-end reads are included. \u001b[0m                                         ||\r\n",
      "||    Assign reads to features... \u001b[0m                                            ||\r\n",
      "||    Total reads : \u001b[36m34690341\u001b[0m \u001b[0m                                                 ||\r\n",
      "||    Successfully assigned reads : \u001b[36m20830926 (60.0%)\u001b[0m \u001b[0m                         ||\r\n",
      "||    Running time : \u001b[36m0.67 minutes\u001b[0m \u001b[0m                                            ||\r\n",
      "||  \u001b[0m                                                                          ||\r\n",
      "|| Process BAM file SOX15i_2.bam... \u001b[0m                                          ||\r\n",
      "||    Single-end reads are included. \u001b[0m                                         ||\r\n",
      "||    Assign reads to features... \u001b[0m                                            ||\r\n",
      "||    Total reads : \u001b[36m49310661\u001b[0m \u001b[0m                                                 ||\r\n",
      "||    Successfully assigned reads : \u001b[36m28883361 (58.6%)\u001b[0m \u001b[0m                         ||\r\n",
      "||    Running time : \u001b[36m0.92 minutes\u001b[0m \u001b[0m                                            ||\r\n",
      "||  \u001b[0m                                                                          ||\r\n",
      "||                         \u001b[36mRead assignment finished.\u001b[0m \u001b[0m                         ||\r\n",
      "||  \u001b[0m                                                                          ||\r\n",
      "\\\\=====================\u001b[36m http://subread.sourceforge.net/ \u001b[0m======================//\r\n",
      "\r\n"
     ]
    }
   ],
   "source": [
    "featureCounts -Q 10 -g gene_name -a gencode.v19.nopseudo.plus.sort.gtf -o RNA-seq.counts Control_1_RNA-seq.bam \\\n",
    "Control_2_RNA-seq.bam SOX15i_1.bam SOX15i_2.bam"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "-rw-r--r-- 1 r0612109 domain users 8690492 jan 28 09:16 RNA-seq.counts\r\n",
      "-rw-r--r-- 1 r0612109 domain users     496 jan 28 09:16 RNA-seq.counts.summary\r\n"
     ]
    }
   ],
   "source": [
    "ls -l *.counts*"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Status                     Control_1_RNA-seq.bam  Control_2_RNA-seq.bam  SOX15i_1.bam  SOX15i_2.bam\r\n",
      "Assigned                   22182986               26671576               20830926      28883361\r\n",
      "Unassigned_Ambiguity       994112                 1134207                1024795       1370832\r\n",
      "Unassigned_MultiMapping    0                      0                      0             0\r\n",
      "Unassigned_NoFeatures      4510609                6281250                6801995       9945581\r\n",
      "Unassigned_Unmapped        0                      0                      0             0\r\n",
      "Unassigned_MappingQuality  4759054                5944061                6032625       9110887\r\n",
      "Unassigned_FragmentLength  0                      0                      0             0\r\n",
      "Unassigned_Chimera         0                      0                      0             0\r\n",
      "Unassigned_Secondary       0                      0                      0             0\r\n",
      "Unassigned_Nonjunction     0                      0                      0             0\r\n",
      "Unassigned_Duplicate       0                      0                      0             0\r\n"
     ]
    }
   ],
   "source": [
    "head -20 RNA-seq.counts.summary | column -t"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": []
    }
   ],
   "source": [
    "cut -f-6 RNA-seq.counts > RNA-seq.genedata.tsv"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": []
    }
   ],
   "source": [
    "cut -f1,7- RNA-seq.counts | grep -v '^#' > RNA-seq.gene.counts.tsv"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Geneid\tControl_1_RNA-seq.bam\tControl_2_RNA-seq.bam\tSOX15i_1.bam\tSOX15i_2.bam\r\n",
      "MIR1302-11\t0\t0\t0\t0\r\n",
      "FAM138A\t0\t0\t0\t0\r\n",
      "OR4F5\t0\t0\t0\t0\r\n",
      "RP11-34P13.7\t0\t0\t0\t0\r\n",
      "RP11-34P13.8\t0\t0\t0\t0\r\n",
      "AL627309.1\t248\t126\t439\t502\r\n",
      "RP11-34P13.14\t0\t0\t0\t0\r\n",
      "RP11-34P13.13\t38\t53\t101\t125\r\n",
      "RNU6-1100P\t0\t0\t0\t0\r\n",
      "RP11-34P13.9\t0\t6\t4\t2\r\n",
      "AP006222.2\t1\t5\t16\t16\r\n",
      "RP4-669L17.10\t3\t5\t9\t4\r\n",
      "OR4F29\t0\t0\t0\t0\r\n",
      "RP4-669L17.2\t0\t0\t0\t0\r\n",
      "RP5-857K21.15\t3\t0\t0\t0\r\n",
      "RP5-857K21.1\t3\t0\t0\t2\r\n",
      "RP5-857K21.2\t0\t0\t0\t0\r\n",
      "RP5-857K21.3\t0\t0\t0\t0\r\n",
      "RP5-857K21.4\t0\t0\t0\t0\r\n",
      "RP5-857K21.5\t0\t0\t0\t0\r\n",
      "OR4F16\t0\t0\t0\t1\r\n",
      "RP11-206L10.3\t13\t32\t18\t18\r\n",
      "RNU6-1199P\t0\t0\t0\t0\r\n",
      "RP11-206L10.5\t2\t0\t0\t0\r\n",
      "RP11-206L10.4\t0\t0\t0\t0\r\n",
      "RP11-206L10.2\t16\t17\t13\t10\r\n",
      "RP11-206L10.9\t60\t73\t48\t122\r\n",
      "AL669831.1\t3\t0\t0\t0\r\n",
      "RP11-206L10.10\t0\t0\t0\t0\r\n",
      "FAM87B\t3\t5\t41\t31\r\n",
      "LINC00115\t10\t7\t22\t4\r\n",
      "RP11-206L10.11\t94\t124\t146\t201\r\n",
      "FAM41C\t0\t0\t0\t0\r\n",
      "AL645608.2\t0\t0\t0\t0\r\n",
      "RP11-54O7.16\t2\t0\t0\t0\r\n",
      "RP11-54O7.1\t2\t0\t4\t0\r\n",
      "RP11-54O7.2\t0\t0\t0\t0\r\n",
      "RP11-54O7.3\t1\t0\t0\t0\r\n",
      "SAMD11\t10\t0\t0\t1\r\n",
      "AL645608.1\t0\t0\t0\t0\r\n",
      "NOC2L\t1176\t1097\t1604\t1861\r\n",
      "KLHL17\t435\t433\t874\t829\r\n",
      "PLEKHN1\t228\t261\t205\t181\r\n",
      "C1orf170\t25\t26\t55\t31\r\n",
      "RP11-54O7.17\t0\t0\t0\t0\r\n",
      "HES4\t25\t21\t34\t20\r\n",
      "RP11-54O7.11\t2\t0\t0\t0\r\n",
      "ISG15\t132\t188\t792\t728\r\n",
      "AGRN\t19346\t19923\t20375\t14832\r\n"
     ]
    }
   ],
   "source": [
    "head -50 RNA-seq.gene.counts.tsv"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": []
    }
   ],
   "source": [
    "cat RNA-seq.results-table.txt | sort -k3 -g -r | cut -f1,3 > RNA-seq.results-table-sorted.txt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\"RP1-140K8.5\"\t5.73539532679174\r\n",
      "\"IGFL2\"\t5.06371031225059\r\n",
      "\"DPP4\"\t5.20897009113074\r\n",
      "\"TNFSF9\"\t4.12468601526016\r\n",
      "\"SYT12\"\t4.1166054845625\r\n",
      "\"RRAD\"\t4.71905544596669\r\n",
      "\"MLXIPL\"\t4.24729483525621\r\n",
      "\"MAOB\"\t4.07568610035185\r\n",
      "\"LY6D\"\t4.02815834945845\r\n",
      "\"HIST2H2BE\"\t4.46568852981372\r\n",
      "\"HIST1H4H\"\t4.41030638508442\r\n",
      "\"HIST1H2AC\"\t4.51274923909569\r\n",
      "\"DCN\"\t4.93670347231829\r\n",
      "\"CPA4\"\t4.43589963232107\r\n",
      "\"ANGPTL4\"\t4.39118818363406\r\n",
      "\"ADAMTS14\"\t4.50269666679036\r\n",
      "\"TG\"\t3.01548599334444\r\n",
      "\"STRA6\"\t3.03802104247434\r\n",
      "\"STC1\"\t3.63992102783657\r\n",
      "\"ST18\"\t3.24209972265083\r\n"
     ]
    }
   ],
   "source": [
    "head -20 RNA-seq.results-table-sorted.txt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "28521182 reads; of these:\r\n",
      "  28521182 (100.00%) were unpaired; of these:\r\n",
      "    21831 (0.08%) aligned 0 times\r\n",
      "    28369917 (99.47%) aligned exactly 1 time\r\n",
      "    129434 (0.45%) aligned >1 times\r\n",
      "99.92% overall alignment rate\r\n"
     ]
    }
   ],
   "source": [
    "bowtie2-align -x /mnt/nfs/data/resources/bowtie2/hg19 SOX15_ChIP-seq.fastq -S ChIP_SOX15.sam"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": []
    }
   ],
   "source": [
    "samtools view -S -b ChIP_SOX15.sam > ChIP_SOX15.bam"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[bam_sort_core] merging from 12 files...\r\n"
     ]
    }
   ],
   "source": [
    "samtools sort -O bam -o ChIP_SOX15.sorted.bam ChIP_SOX15.bam "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": []
    }
   ],
   "source": [
    "samtools index ChIP_SOX15.sorted.bam "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "mkdir: cannot create directory ‘macs2_SOX15’: File exists\r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:09: \r\n",
      "# Command line: callpeak -t ChIP_SOX15.sorted.bam --outdir macs2_SOX15 -n SOX15 -g hs -q 0.005\r\n",
      "# ARGUMENTS LIST:\r\n",
      "# name = SOX15\r\n",
      "# format = AUTO\r\n",
      "# ChIP-seq file = ['ChIP_SOX15.sorted.bam']\r\n",
      "# control file = None\r\n",
      "# effective genome size = 2.70e+09\r\n",
      "# band width = 300\r\n",
      "# model fold = [5, 50]\r\n",
      "# qvalue cutoff = 5.00e-03\r\n",
      "# Larger dataset will be scaled towards smaller dataset.\r\n",
      "# Range for calculating regional lambda is: 10000 bps\r\n",
      "# Broad region calling is off\r\n",
      " \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:09: #1 read tag files... \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:09: #1 read treatment tags... \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:09: Detected format is: BAM \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:09: * Input file is gzipped. \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:13:  1000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:16:  2000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:20:  3000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:24:  4000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:28:  5000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:32:  6000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:36:  7000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:40:  8000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:44:  9000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:48:  10000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:52:  11000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:08:56:  12000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:00:  13000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:04:  14000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:08:  15000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:12:  16000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:17:  17000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:21:  18000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:26:  19000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:30:  20000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:34:  21000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:39:  22000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:43:  23000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:48:  24000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:52:  25000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:09:56:  26000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:01:  27000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:05:  28000000 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:08: #1 tag size is determined as 76 bps \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:08: #1 tag size = 76 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:08: #1  total tags in treatment: 28499351 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:08: #1 user defined the maximum tags... \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:08: #1 filter out redundant tags at the same location and the same strand by allowing at most 1 tag(s) \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:09: #1  tags after filtering in treatment: 16456644 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:09: #1  Redundant rate of treatment: 0.42 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:09: #1 finished! \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:09: #2 Build Peak Model... \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:09: #2 looking for paired plus/minus strand peaks... \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:11: #2 number of paired peaks: 5064 \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:11: start model_add_line... \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:11: start X-correlation... \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:11: end of X-cor \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:11: #2 finished! \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:11: #2 predicted fragment length is 218 bps \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:11: #2 alternative fragment length(s) may be 192,218 bps \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:11: #2.2 Generate R script for model : macs2_SOX15/SOX15_model.r \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:11: #3 Call peaks... \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:11: #3 Pre-compute pvalue-qvalue table... \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:10:47: #3 Call peaks for each chromosome... \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:11:09: #4 Write output xls file... macs2_SOX15/SOX15_peaks.xls \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:11:09: #4 Write peak in narrowPeak format file... macs2_SOX15/SOX15_peaks.narrowPeak \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:11:09: #4 Write summits bed file... macs2_SOX15/SOX15_summits.bed \r\n",
      "INFO  @ Thu, 26 Jan 2017 20:11:09: Done! \r\n"
     ]
    }
   ],
   "source": [
    "mkdir macs2_SOX15\n",
    "\n",
    "macs2 callpeak -t  ChIP_SOX15.sorted.bam --outdir macs2_SOX15 -n SOX15 -g hs -q 0.005"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "/home/luna.kuleuven.be/r0612109/data/work/macs2_SOX15\r\n"
     ]
    }
   ],
   "source": [
    "cd macs2_SOX15\n",
    "pwd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 41,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "chr1\t23703800\t23704223\tSOX15_peak_1\t74\t.\t6.66568\t12.35438\t7.45911\t241\r\n",
      "chr1\t55388865\t55389083\tSOX15_peak_2\t60\t.\t6.44130\t10.80460\t6.02177\t51\r\n",
      "chr1\t69090009\t69090248\tSOX15_peak_3\t121\t.\t8.48962\t17.27172\t12.15769\t129\r\n",
      "chr1\t93544575\t93544876\tSOX15_peak_4\t283\t.\t10.90540\t33.87128\t28.30915\t143\r\n",
      "chr1\t121353026\t121353245\tSOX15_peak_5\t155\t.\t6.34683\t20.74101\t15.51637\t174\r\n",
      "chr1\t121484171\t121485497\tSOX15_peak_6\t1795\t.\t10.48188\t189.04437\t179.55313\t1016\r\n",
      "chr1\t142538342\t142538560\tSOX15_peak_7\t98\t.\t5.22620\t14.86744\t9.84924\t150\r\n",
      "chr1\t145092492\t145092759\tSOX15_peak_8\t54\t.\t4.20141\t10.17621\t5.45900\t163\r\n",
      "chr1\t149035200\t149035582\tSOX15_peak_9\t271\t.\t12.96104\t32.66244\t27.13527\t178\r\n",
      "chr1\t149223725\t149224047\tSOX15_peak_10\t108\t.\t7.71118\t15.92591\t10.86324\t133\r\n"
     ]
    }
   ],
   "source": [
    "head SOX15_peaks.narrowPeak"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "280 SOX15_peaks.narrowPeak\r\n"
     ]
    }
   ],
   "source": [
    "wc -l SOX15_peaks.narrowPeak"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "280\r\n"
     ]
    }
   ],
   "source": [
    "cat SOX15_summits.bed | wc -l"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "References\n",
    "\n",
    "1. Association AG. American Gastroenterological Association medical position statement on the management of Barrett's esophagus. Gastroenterology. 2011;140(3):1084-91.\n",
    "2.\tShaheen NJ, Falk GW, Iyer PG, Gerson LB. ACG clinical guideline: diagnosis and management of Barrett’s esophagus. The American journal of gastroenterology. 2016;111(1):30-50.\n",
    "3.\tWani S, Rubenstein JH, Vieth M, Bergman J. Diagnosis and Management of Low-Grade Dysplasia in Barrett’s Esophagus: Expert Review From the Clinical Practice Updates Committee of the American Gastroenterological Association. Gastroenterology. 2016;151(5):822-35.\n",
    "4.\tWani S, Falk GW, Post J, Yerian L, Hall M, Wang A, et al. Risk factors for progression of low-grade dysplasia in patients with Barrett's esophagus. Gastroenterology. 2011;141(4):1179-86. e1.\n",
    "5.\tWani S, Falk G, Hall M, Gaddam S, Wang A, Gupta N, et al. Patients with nondysplastic Barrett's esophagus have low risks for developing dysplasia or esophageal adenocarcinoma. Clinical Gastroenterology and Hepatology. 2011;9(3):220-7. e1.\n",
    "6.\tSpechler SJ, Souza RF. Barrett's esophagus. New England Journal of Medicine. 2014;371(9):836-45.\n",
    "7.\tGao N, White P, Kaestner KH. Establishment of intestinal identity and epithelial-mesenchymal signaling by Cdx2. Developmental cell. 2009;16(4):588-99.\n",
    "8.\tSulahian R, Chen J, Arany Z, Jadhav U, Peng S, Rustgi AK, et al. SOX15 Governs Transcription in Human Stratified Epithelia and a Subset of Esophageal Adenocarcinomas. CMGH Cellular and Molecular Gastroenterology and Hepatology. 2015;1(6):598-609. e6.\n",
    "9.\tDaniely Y, Liao G, Dixon D, Linnoila RI, Lori A, Randell SH, et al. Critical role of p63 in the development of a normal esophageal and tracheobronchial epithelium. American Journal of Physiology-Cell Physiology. 2004;287(1):C171-C81.\n",
    "\n"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Bash",
   "language": "bash",
   "name": "bash"
  },
  "language_info": {
   "codemirror_mode": "shell",
   "file_extension": ".sh",
   "mimetype": "text/x-sh",
   "name": "bash"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}
