A small python library written to import cDNA sequences from NCBI database and form chimeric protein constructs.
- Biopython
-
Written for python 3
-
Install requirements
pip install -r requirements.txt
-
Import Sequence Tools
from SequenceTools import SequenceTools -
Create a SequenceTools object with your email
tools = SequenceTools(email="your@email.com")For NCBI api key:
tools = SequenceTools(apiKey="api_key", email="your@email.com") -
Import Sequence from NCBI UniGene
tools.importSeqeuenceByNCBIIdentifier("AK079513.1") -
Deconstruct imported sequence and give deconstruction key
tools.deconstructImportedCDNASequence(tools.allSequences["AK079513.1"], "AK079513.1") -
Make new deconstructed sequence from range to isolate portion (in this example the extracellular peptides) and give key.
tools.makeNewDeconstructedSequenceFromDeconstructedSequencePeptideRange(tools.allDeconstructedSequences["AK079513.1"], 24, 244, "CD86_Extracellular") -
Create sequences from copied DNA of other proteins, etc.
nhe1Seq = tools.createSeqObjectFromString("GCTAGC") -
Deconstruct sequences, give key for reference, and specify if coding
tools.deconstructDNASequence(nhe1Seq, "NheI", False) -
Make a new construct from deconstructed sequences and give a key
tools.createConstructFromDeconstructedSequences(['NheI' ,'SecretionSignal', 'Linker1', 'CD86_Extracellular', "Linker2", 'APTag', 'Linker3', 'TEV', 'HIS','STOPS', 'EcoRI'], 'NheI-CD86Extracellular-APTag-TEV-HIS-EcoRI') -
Compare construct with seq
comp5 = tools.compareDNAConstructToSequence(tools.allConstructs['NheI-CD86Extracellular-APTag-TEV-HIS-EcoRI'], genScriptSeq)
For new feature requests or debugging contact: arosad2@protonmail.ch.