Giter Club home page Giter Club logo

mutation-detector's People

Contributors

xyaneon avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

reetaash

mutation-detector's Issues

Satisfy Part 2 of Homework 2

From page 34 of the textbook:

Modify your program so it is more flexible, allowing the input sequences to contain either lowercase or uppercase letters by simply converting all input sequences to uppercase.

Satisfy Part 4 of Homework 2

From page 34 of the textbook:

This program could just as well be used to compare two DNA sequences. Modify it so the user can choose whether to compare the DNA sequences directly, translate them before comparing, or both.

Satisfy Part 3 of Homework 2

From page 34 of the textbook:

Modify your program so that stop codons are included in your codon table (if you haven't already included them). Then devise a way to represent a stop when you translate your DNA sequences and to show this nonsense mutation in your mutation list. Test your program with mutation A from the Test Your Understanding section.

IndexError exception while comparing mutantA and mutantB

Here's the command:

christopher@ArcticThunder:~/Mutation-Detector$ python Mutation_Detector.py ~/Downloads/Homework\ 2\ Test\ Data/mutantA.fasta ~/Downloads/Homework\ 2\ Test\ Data/mutantB.fasta

And the traceback:

Traceback (most recent call last):
  File "Mutation_Detector.py", line 56, in <module>
    sequence_comparison.compare_amino_1letter(aminoseq1, aminoseq2, args.outfile)
  File "/home/christopher/Mutation-Detector/sequence_comparison.py", line 28, in compare_amino_1letter
    if seq1[i] != seq2[i]:
IndexError: string index out of range

Satisfy Part 1 of Homework 2

From page 34 of the textbook:

Write a program in the language used in your course to implement the above pseudocode. Test your program initially with the short wild-type sequence from the Test Your Understanding section and a missense mutant version of this sequence. You can also test it with the mutant B sequence from Test Your Understanding. Be sure you know the expected results for these test sequences before you run this program. Then test it with your wild-type CTFR sequence and Mary's alleles (not Tom's - this is discussed in the On Your Own Project that follows) from the Web Exploration section.

Regenerate Test Runs 2 through 4

my_fastaA.fasta and my_fastaB.fasta both contain uracil, despite being 5' coding DNA sequences. Re-run the tests on these sequences.

Satisfy Part 5 of Homework 2

From page 34 of the textbook:

Allow the user to input either the template or nontemplate strand of DNA or an mRNA sequence, in either 5'→3' or 3'→5' orientation. Request input form the user to identify the sequences, and then manipulate them as necessary to produce an mRNA sequence before translating. Use the short sequence in Test Your Understanding to generate test sequences for your program.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.