Giter Club home page Giter Club logo

inversetranslation's Introduction

The program inverseTranslation opens 2 files, whose filenames iare specified by the user as a command-line argument. The first file is a FASTA file from a filename supplied by a user as a command-line argument and a codon usage table. Reads of the FASTA sequence and implements the related codon sequence using the apropriate codon table.

When outputting the sequence: End with a stop codon, but not contain any in-frame premature stop codons, Be a length multiple of three (i.e. no "half" codons), Translate to the corresponding input sequence from protein.fasta, according to the genetic code specified in codonUsage.txt, Be in valid FASTA format, using the same name as the input sequence.

The output sequence should be optimized: The more frequent codons from the codon usage table should be used, where possible, Codon repetition should be avoided, where possible (especially close repetitions), Secondary structure should be avoided, where possible.

Your program should exit gracefully (that is, report an error and stop execution, e.g. by raising a Python exception) if any of the following error conditions are met: The user did not specify a filename argument on the command line The file named by the user does not exist, or is not readable The file named by the user is not in FASTA format The file named by the user contains sequences that are not DNA

Where possible, you should recover from other "typical" errors with minimal disruption to the user of your script.

inversetranslation's People

Contributors

tjasthi avatar

Watchers

James Cloos avatar

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.