Genome 540 Homework Assignment 3
Due Sunday Jan. 28
- Write a program to identify the regions of elevated copy-number using the D-segment algorithm described in lecture, using the number of read-starts at every base to determine the base's score. This program should:
- read in two input files
- a mapped read count file (described below)
- a 'scoring scheme' file that indicates the score for each read count (0, 1, 2, or >=3 reads, scoring scheme described below)
- output the following information (see template file for example):
- number of normal and elevated copy-number segments
- a list of elevated copy-number segments including their start position, end position, and score (to two decimal points)
- annotations for the first three segments (use the UCSC genome browser and put down anything interesting about the segment)
- histograms of read-start counts (i.e. number of positions with 0, 1, 2, and >=3 read-starts) for a) normal segments, and b) elevated copy-number segments
- Run your program on this file using the following scoring scheme:
- score for 0 reads: -0.3464
- score for 1 read: 0.2488
- score for 2 reads: 0.8439
- score for >=3 reads: 1.5337
- D = -33.219
- S = -D = 33.219
- The input file has three columns: chromosome, position, and # of read-starts. The file was created based on the start positions of all reads mapping to chromosome 17 for individual NA12878, sequenced as a part of the 1000 genomes project. Sequencing was performed on the Illumina platform, and the reads were mapped to the human reference hg19 using BWA. The alignments are available on the 1000 genomes project website in BAM format.
- Using this example input, your output file should look like this template. Use the same template structure for your output on the actual file. Please put everything into ONE plain text file - do not send an archive of files or a tar file, or a word processing document file. Compress it (using either Unix compress, or gzip -- if you don't have access to either of these programs let us know), and send it as an attachment to both Phil (phg (at) u.washington.edu) and Serena (selenay (at) uw.edu).