Advertisement
Guest User

bnfoinstructions

a guest
Dec 4th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. BNFO 201 – Project P2.
  2. Due: Monday 5th December 2016 by 5pm EST.
  3. FASTA file format is the most common format for examining and studying DNA sequences. The format typically has a sequenceid on a single line, identified by a “>” sign as the first character of the line, and a DNA sequence which may span multiple lines. /home/bnfo201/project_genome.fasta contains the assembly of a bacterial genome, which /home/bnfo201/project_annotations.gtf contains this genomes’ annotations. GTF file format is tab-delimited with the following columns:
  4. 1. seqname - name of the chromosome or scaffold or contig
  5. 2. source - name of the program that generated this feature, or the data source
  6. 3. feature - feature type name, e.g. Gene, Variation, Similarity
  7. 4. start - Start position of the feature, with sequence numbering starting at 1.
  8. 5. end - End position of the feature, with sequence numbering starting at 1.
  9. 6. score - A floating point value.
  10. 7. strand - defined as + (forward) or - (reverse).
  11. 8. frame - One of '0', '1' or '2'. '0' indicates that the first base of the feature is
  12. the first base of a codon, '1' that the second base is the first base of a codon,
  13. and so on..
  14. 9. attribute - A semicolon-separated list of tag-value pairs, providing additional
  15. information about each feature.
  16. For each protein coding annotation (feature=CDS), extract the transcript from the genome and save it to a file transcripts.fasta. Each transcript should have the sequence id same as the attribute “protein_id” in the GTF file. Transcripts need to be reverse complemented for “-“ strands. Next, translate each transcript into a protein according to /home/bnfo201/project_genetic_code.tsv and save into proteins.fasta. Corresponding transcripts and proteins should have the same sequence ids. Remember, all proteins should start with Met. Finally, calculate the GRAVY score of each protein in proteins.fasta and report it in tabular format in “gravy_score.tsv” with the columns being sequence_id, length, gravy_score.
  17. GRAVY Score: Hydropathic index (the measure of hydrophilic or hydrophobic nature) of the amino acid is documented in the /home/bnfo201/hydropathic_index.tsv. Sum of the hydropathic indices of all the amino acids in the protein, averaged over the length of the protein is called the GRAVY score.
  18.  
  19. Deliverables:
  20. 1. A MS Word document describing
  21. a. how you approached the problem,
  22. b. which functions/objects/dictionaries/lists were created and why, etc.
  23. c. explaining how to run the code (input arguments, etc.)
  24. d. explaining how the code runs, i.e., the flow.
  25. e. how did you test the code for accuracy/speed.
  26. 2. Python code. <eid>_project.py. Please give comments wherever necessary, even if you feel they are very “obvious”. Copy your scripts and output files to /home/bnfo201/<eid>/project
  27. Is this project for you? Project assignments:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement