Skip to content

Add flexibility to the current app and remove user inputs #1

@sh1l0n

Description

@sh1l0n

From my point of view I would want to use the program in this way


result = GuideMoldConstructror(
        adn_sequence='XXXXX',
        mutations=[
            knock_in_mid(),
            knock_in_end(),
            knock_out(),
            swap(1, 'A'),
            ....
        ]
    )

In this way we could automatize different modification trials in a easy way. Also we could formalize a bit the design adding these two classes for managing transtraltions between DNA and RNA.

class DNA:
    ...
    def toRNA():
        pass

class ARN:
        ...
     def toDNA():
         pass

These two classes could also have an abstract class like BaseSequence (or another better name) for formalize mutations

class BaseSequence:
    def knock_in_mid(self):
        pass
    def knock_in_end(self):
        pass
    def knock_out(self):
        pass    
    def swap(self, position: int, value: str):
        pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions