README file for GIS RNA PET clusters provided by Genome Institute of Singapore. Contact: Lavanya VEERAVALLI (GIS) veeravallil@gis.a-star.edu.sg BED format from http://genome.ucsc.edu/FAQ/FAQformat.html#format1 chrom - The name of the chromosome (e.g. chr3, chrY, chr2_random) or scaffold (e.g. scaffold10671). chromStart - The starting position of the feature in the chromosome or scaffold. The first base in a chromosome is numbered 0. chromEnd - The ending position of the feature in the chromosome or scaffold. The chromEnd base is not included in the display of the feature. For example, the first 100 bases of a chromosome are defined as chromStart=0, chromEnd=100, and span the bases numbered 0-99. name - Defines the name of the BED line. This label is displayed to the left of the BED line in the Genome Browser window when the track is open to full display mode or directly to the left of the item in pack mode. *score - A score between 0 and 1000. If the track line useScore attribute is set to 1 for this annotation data set, the score value will determine the level of gray in which this feature is displayed (higher numbers = darker gray). strand - Defines the strand - either '+' or '-'. thickStart - The starting position at which the feature is drawn thickly (for example, the start codon in gene displays). thickEnd - The ending position at which the feature is drawn thickly (for example, the stop codon in gene displays). itemRgb - An RGB value of the form R,G,B (e.g. 255,0,0). If the track line itemRgb attribute is set to "On", this RBG value will determine the display color of the data contained in this BED line. NOTE: It is recommended that a simple color scheme (eight colors or less) be used with this attribute to avoid overwhelming the color resources of the Genome Browser and your Internet browser. blockCount - The number of blocks (exons) in the BED line. blockSizes - A comma-separated list of the block sizes. The number of items in this list should correspond to blockCount. blockStarts - A comma-separated list of block starts. All of the blockStart positions should be calculated relative to chromStart. The number of items in this list should correspond to blockCount. *column 5 score is normalized as below: 1. Using existing bed file, whose column 5 is calculated as follows: read/max(read)*1000, calculate the ln of column 5. ln(read/max(read)*1000) eg. awk 'OFS="\t"{print $1,$2,$3,$4,log($5),$6,$7,$8,$9,$10,$11,$12}' PS. read can be obtained from column 4, name. For eg. RHI006-U_10000859-10-1 has read value 10. 2. Find the min of the column 5 output of step 1. min(ln(read/max(read)*1000)) eg. awk 'min==”” || $5 < min {min=$5} END{print min}': output 'x' 3. Add min in step 2 to the column5 output of step 1, to shift spectrum to the positive scale. ln(read/max(read)*1000) - min(ln(read/max(read)*1000)) eg. awk 'OFS="\t"{print $1,$2,$3,$4,$5-(x),$6,$7,$8,$9,$10,$11,$12}' 4. Find the max of the column 5 output of step 3. max(ln(read/max(read)*1000) - min(ln(read/max(read)*1000))) awk 'max=="" || $5 > max {max=$5} END{print max}': output 'y' 5. Scale the column5 output of step 3 to 1000. ln(read/max(read)*1000)-min(ln(read/max(read)*1000)) / max(ln(read/max(read)*1000)-min(ln(read/max(read)*1000))) * 1000 awk 'OFS="\t"{print $1,$2,$3,$4,$5/(y)*1000,$6,$7,$8,$9,$10,$11,$12}'