GithubHelp home page GithubHelp logo

rbkgh / exercism-rnatranscription Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 17 KB

My solution to exercism.io java rna-transcription intentionally overkilled with strategy pattern(http://exercism.io/submissions/360537f555284c4196f327d597f79123)

Java 100.00%
rna-transcription exercism exercism-exercises exercism-solutions exercism-java strategy-pattern overkill-algorithm

exercism-rnatranscription's Introduction

Rna Transcription

Given a DNA strand, return its RNA complement (per RNA transcription).

Both DNA and RNA strands are a sequence of nucleotides.

The four nucleotides found in DNA are adenine (A), cytosine (C), guanine (G) and thymine (T).

The four nucleotides found in RNA are adenine (A), cytosine (C), guanine (G) and uracil (U).

Given a DNA strand, its transcribed RNA strand is formed by replacing each nucleotide with its complement: exercism submit src/main/java/extra/DnaStrand.java src/main/java/extra/RnaStrand.java src/main/java/main/DnaStrategy.java src/main/java/main/DnaStrategyContext.java src/main/java/main/RnaTranscriptProcessor.java src/main/java/strategies/AdenineStrategy.java src/main/java/strategies/CytosineDnaStrategy.java src/main/java/strategies/DefaultDnaStrategy.java src/main/java/strategies/GuanineDnaStrategy.java src/main/java/strategies/ThymineStrategy.java

  • G -> C
  • C -> G
  • T -> A
  • A -> U

To run the tests:

$ gradle test

For more detailed info about the Java track see the help page.

Source

Rosalind http://rosalind.info/problems/rna

Submitting Incomplete Problems

It's possible to submit an incomplete solution so you can see how others have completed the exercise.

exercism-rnatranscription's People

Contributors

rbkgh avatar

Watchers

 avatar  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.