Skip to content

2020_hw1-hyphaltip created by GitHub Classroom

Notifications You must be signed in to change notification settings

andresn/2020_hw1-hyphaltip

 
 

Repository files navigation

2020 Homework 1

  1. Write a script called download_count.sh which does the following.

  2. Write a script called summary_exons.sh which summarizes the total length of exons in the file data/rice_random_exons.bed. These data are in the BED file format. The columns are "Chromosome", "Start position", "Stop position". The length of a feature (or exon in this case) is computed by doing the computation: STOP - START

    • read in the file
    • use a loop structure to read each line
    • add up the length of each exon by summing this into a variable
    • Print out the total length of exon features at the end.
    • You do not need to save this for each chromosome, just print out the total length for this example - however if this is too easy for you, go ahead and make a more sophisticated report which presents, per chromosome, the total length of exons as well as the total number of exons, and the average length of exons.
  3. Write a script called strand_gene_count.sh to calculate the number of genes that are on the positive (+) and negative (-) strand in the file.

About

2020_hw1-hyphaltip created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%