MCPcopy Create free account

hub / github.com/Koeng101/dnadesign / functions

Functions862 in github.com/Koeng101/dnadesign

↓ 2 callersMethodWriteTo
Entry_WriteTo writes an entry to an io.Writer. It specifically writes a JSON representation, NOT an XML representation, of the uniprot data.
lib/bio/uniprot/uniprot.go:54
↓ 2 callersMethodWriteTo
WriteTo is a blank function, needed for compatibility with bio parsers. It doesn't do anything.
lib/bio/fasta/fasta.go:63
↓ 2 callersFunction_create_c_part
(part: Part)
py/dnadesign/clone.py:18
↓ 2 callersFunction_process_fasta_result
(result)
py/dnadesign/parsers.py:38
↓ 2 callersFunction_process_fastq_result
(result)
py/dnadesign/parsers.py:61
↓ 2 callersFunction_process_genbank_result
(result)
py/dnadesign/parsers.py:182
↓ 2 callersFunctionabs
(x int)
lib/fold/zuker/utils.go:3
↓ 2 callersFunctionaddBranch
(structure nucleicAcidStructure, branches *[]subsequence, foldContext context)
lib/fold/zuker/fold.go:333
↓ 2 callersFunctionappendInfsToSlice
(slice []int, length int)
lib/fold/mfe/energy_params/parse.go:530
↓ 2 callersFunctionbulge_nuc_score
(nuci int)
lib/fold/linearfold/linearfold.go:1500
↓ 2 callersFunctioncartRune
(inLists ...[]rune)
lib/transform/variants/variants.go:56
↓ 2 callersFunctioncheckRegexpMatchesFullString
(str, regex, errMsg string)
lib/fold/mfe/checks/checks.go:22
↓ 2 callersMethoddone
()
lib/bio/errgroup/errgroup.go:36
↓ 2 callersFunctionencodeToBase58
encodeToBase58 encodes a byte slice to a Base58 string
lib/seqhash/base58.go:12
↓ 2 callersFunctionevaluateLoop
evaluateLoop evaluates and returns the loop enclosed by (closingFivePrimeIdx, closingThreePrimeIdx) which can be either a `Hairpin` or `MultiLoop`. e
lib/fold/mfe/secondary_structure/dot_bracket.go:276
↓ 2 callersFunctionexteriorStemEnergy
see `EvaluateExteriorStem` for more information
lib/fold/mfe/mfe.go:205
↓ 2 callersFunctionfragment
(sequence: str, min_fragment_size: int, max_fragment_size: int, exclude_overhangs: List[str])
py/dnadesign/fragment.py:39
↓ 2 callersFunctiongetFeatureSequence
getFeatureSequence takes a feature and location object and returns a sequence string.
lib/bio/genbank/genbank.go:187
↓ 2 callersFunctiongetStochasticCodon
getStochasticCodon draws a single weighted codon from the provided RNG, advancing its stream. Optimize uses one RNG for the whole sequence and calls t
lib/synthesis/codon/codon.go:94
↓ 2 callersFunctiongoFastaToCFasta
****************************************************************************** Aug 10, 2024 Fasta **************************************************
py/lib.go:189
↓ 2 callersFunctiongoFastqToCFastq
****************************************************************************** Aug 16, 2024 Fastq **************************************************
py/lib.go:227
↓ 2 callersFunctiongoGenbankToCGenbank
****************************************************************************** Genbank *************************************************************
py/lib.go:278
↓ 2 callersFunctionhairpin
Evaluate free energy of a hairpin loop. See `evaluateHairpinLoop()` for more information.
lib/fold/mfe/mfe.go:431
↓ 2 callersFunctioninitialize
()
lib/fold/linearfold/linearfold.go:187
↓ 2 callersFunctioninitialize_cachesingle
()
lib/fold/linearfold/linearfold.go:229
↓ 2 callersFunctioninternalLoop
internalLoop calculates the free energy of an internal loop. The first and last bp of both left and right sequences are not themselves parts of the l
lib/fold/zuker/fold.go:543
↓ 2 callersFunctionlogStemEnergyContributions
(stem Stem, sequence string)
lib/fold/mfe/mfe_test.go:1957
↓ 2 callersFunctionmin
Returns the minimum of two ints
lib/fold/mfe/mfe.go:693
↓ 2 callersFunctionminimumStructure
Return the struct with the lowest free energy that isn't -inf Args: structures: NucleicAcidStructure being compared Returns the min free energy str
lib/fold/zuker/fold.go:875
↓ 2 callersFunctionmultibranch
multibranch calculates a multi-branch foldEnergy penalty using a linear formula. From Jaeger, Turner, and Zuker, 1989. Found to be better than logari
lib/fold/zuker/fold.go:368
↓ 2 callersFunctionoptimizeOverhangIteration
optimizeOverhangIteration takes in a sequence and optimally fragments it.
lib/synthesis/fragment/fragment.go:102
↓ 2 callersFunctionparseItemsInto2DimIntMatrix
(scanner *bufio.Scanner, lenDim1, lenDim2 int)
lib/fold/mfe/energy_params/parse.go:380
↓ 2 callersFunctionparseItemsInto3DimIntMatrix
(scanner *bufio.Scanner, lenDim1, lenDim2, lenDim3 int)
lib/fold/mfe/energy_params/parse.go:389
↓ 2 callersFunctionparseItemsInto4DimIntMatrix
(scanner *bufio.Scanner, lenDim1, lenDim2, lenDim3, lenDim4 int)
lib/fold/mfe/energy_params/parse.go:397
↓ 2 callersFunctionparseItemsInto5DimIntMatrix
(scanner *bufio.Scanner, lenDim1, lenDim2, lenDim3, lenDim4, lenDim5 int)
lib/fold/mfe/energy_params/parse.go:405
↓ 2 callersFunctionparseLineIntoSlice
(scanner *bufio.Scanner)
lib/fold/mfe/energy_params/parse.go:311
↓ 2 callersFunctionparseLocus
TODO rewrite with proper error handling. parses locus from provided string.
lib/bio/genbank/genbank.go:908
↓ 2 callersFunctionparseUntilEnoughItemsIntoIntSlice
(scanner *bufio.Scanner, numValuesToParse int)
lib/fold/mfe/energy_params/parse.go:296
↓ 2 callersFunctionparse_genbank_from_c_file
(file_path: str)
py/dnadesign/parsers.py:169
↓ 2 callersFunctionpartition
(masks []byte, cnt int)
lib/bio/slow5/svb/codec.go:75
↓ 2 callersFunctionprependInfsToSlice
adds `length` `inf`s to the front of a slice
lib/fold/mfe/energy_params/parse.go:526
↓ 2 callersFunctionrandomNucelotideSequence
(length int, seed int64, alphabet []rune)
lib/random/random.go:52
↓ 2 callersFunctionreadMultiNth
readMultiNth reads a multi Gbk from path and parses N entries into a slice of Genbank structs.
lib/bio/genbank/genbank.go:1202
↓ 2 callersFunctionremoveComments
removeComments removes C-style inline comments from a string
lib/fold/mfe/energy_params/parse.go:347
↓ 2 callersFunctionreverseRuneArray
(runes []rune)
lib/align/align.go:234
↓ 2 callersMethodsaveLastAttribute
save our completed attribute / qualifier string to the current feature useful as a wrap-up step from multiple states
lib/bio/genbank/genbank.go:539
↓ 2 callersFunctionscore_external_paired
(i, j, nuci_1, nuci, currentNucleotide, nextNucleotide, len int)
lib/fold/linearfold/linearfold.go:1328
↓ 2 callersFunctionscore_junction_B
(i, j, nuci, nuci1, currentNucleotide_1, currentNucleotide int)
lib/fold/linearfold/linearfold.go:1251
↓ 2 callersFunctionstripWhiteSpace
removes all white space in a string
lib/fold/mfe/mfe_test.go:1914
↓ 2 callersFunctiontrackbackEnergy
trackbackEnergy add energy to each structure, based on how it's unpairedMinimumFreeEnergyW(start,end) differs from the one after Args: structures: T
lib/fold/zuker/fold.go:892
↓ 2 callersFunctionv_score_external_paired
(i, j, nuci_1, nuci, nucj, nucj1, len int)
lib/fold/linearfold/linearfold.go:1678
↓ 2 callersFunctionv_score_hairpin
var ( if_tetraloops, if_hexaloops, if_triloops []int ) func v_init_tetra_hex_tri(sequence string, seq_length int, if_tetraloops, if_hexaloops, if_tri
lib/fold/linearfold/linearfold.go:1596
↓ 2 callersFunctionv_score_single
(i, j, p, q, nuci, nuci1, nucj_1, nucj, nucp_1, nucp, nucq, nucq1 int)
lib/fold/linearfold/linearfold.go:1694
↓ 2 callersFunctionwrapString
wrapString wraps the given string within lim width in characters. Wrapping is currently naive and only happens at white-space. A future version of th
lib/bio/genbank/wordwrap.go:28
↓ 1 callersFunctionCopyLocation
CopyLocation creates deep copy of Location, which supports safe duplication
lib/bio/genbank/genbank.go:181
↓ 1 callersFunctionDNASequence
DNASequence returns a random DNA sequence string of a given length and seed.
lib/random/random.go:43
↓ 1 callersFunctionDesignPrimersWithOverhangs
DesignPrimersWithOverhangs designs two primers to amplify a target sequence, adding on an overhang to the forward and reverse strand. This overhang ca
lib/primers/pcr/pcr.go:41
↓ 1 callersFunctionDualBarcodesToPrimerSet
DualBarcodesToPrimerSet parsers a list of dual barcodes into a dual barcode primer set.
lib/sequencing/barcoding/barcoding.go:80
↓ 1 callersFunctionEvaluateExteriorStem
Evaluate a stem branching off the exterior loop. Given a base pair (i,j) (encoded by `energy_params.BasePairTypeEncodedInt()`), compute the energy co
lib/fold/mfe/mfe.go:247
↓ 1 callersFunctionEvaluateHairpinLoop
Compute the energy of a hairpin loop. To evaluate the free energy of a hairpin loop, several parameters have to be known. A general hairpin-loop has
lib/fold/mfe/mfe.go:483
↓ 1 callersFunctionEvaluateStemStructure
EvaluateStemStructure computes the energy of either a stacking pair, bulge, or interior loop. This function computes the free energy of a loop with th
lib/fold/mfe/mfe.go:351
↓ 1 callersFunctionExport
Export returns a json file of the Rebase database
lib/bio/rebase/rebase.go:285
↓ 1 callersMethodExtend
Extend returns a new alphabet that is the original alphabet extended with a list of symbols.
lib/alphabet/alphabet.go:53
↓ 1 callersFunctionFindKmers
FindKmers finds kmers indicative of ligation events within fastq sequencing reads. If you need to just search raw sequence and not fastq reads, you ca
lib/clone/kmer.go:65
↓ 1 callersFunctionForEachValue
ForEachValue iterates over the multimap, once for each value do is a callback that takes and a key and value.
lib/bio/genbank/multimap.go:45
↓ 1 callersFunctionHasFeature
HasFeature to check if features from FeatureNames map are available on the current processor
lib/bio/slow5/svb/cpuid/cpuid.go:83
↓ 1 callersMethodHeader
Header is a parsing primitive that should be used when low-level control is needed. It returns the header of the parser, which is usually parsed prior
lib/bio/bio.go:214
↓ 1 callersMethodHeader
Header returns an empty header since UniRef files don't have headers
lib/bio/uniref/uniref.go:114
↓ 1 callersMethodHeader
Header returns the parsed sam header.
lib/bio/sam/sam.go:360
↓ 1 callersFunctionMD5All
MD5All reads all the files in the file tree rooted at root and returns a map from file path to the MD5 sum of the file's contents. If the directory wa
lib/bio/errgroup/errgroup_example_md5all_test.go:40
↓ 1 callersFunctionMinimap2
Minimap2 aligns sequences using minimap2 over the command line. Right now, only nanopore (map-ont) is supported. If you need others enabled, please pu
external/minimap2/minimap2.go:38
↓ 1 callersFunctionNewFastaParserWithMaxLineLength
NewFastaParserWithMaxLineLength initiates a new FASTA parser from an io.Reader and a user-given maxLineLength.
lib/bio/bio.go:108
↓ 1 callersFunctionNewFastqParserWithMaxLineLength
NewFastqParserWithMaxLineLength initiates a new FASTQ parser from an io.Reader and a user-given maxLineLength.
lib/bio/bio.go:119
↓ 1 callersFunctionNewFromBytes
(data []byte)
lib/bio/slow5/svb/codec.go:28
↓ 1 callersFunctionNewFromUint32
(data []uint32)
lib/bio/slow5/svb/codec.go:19
↓ 1 callersFunctionNewGenbankParserWithMaxLineLength
NewGenbankParserWithMaxLineLength initiates a new Genbank parser from an io.Reader and a user-given maxLineLength.
lib/bio/bio.go:130
↓ 1 callersFunctionNewLimitedWriter
(w io.Writer, maxSize int64)
lib/bio/fasta/fasta_test.go:137
↓ 1 callersFunctionNewParser
(r io.Reader)
lib/bio/uniprot/uniprot.go:68
↓ 1 callersFunctionNewPileupParserWithMaxLineLength
NewPileupParserWithMaxLineLength initiates a new Pileup parser from an io.Reader and a user-given maxLineLength.
lib/bio/bio.go:165
↓ 1 callersFunctionNewSamParserWithMaxLineLength
NewSamParserWithMaxLineLength initiates a new SAM parser from an io.Reader and a user-given maxLineLength.
lib/bio/bio.go:153
↓ 1 callersFunctionNewSlow5ParserWithMaxLineLength
NewSlow5ParserWithMaxLineLength initiates a new SLOW5 parser from an io.Reader and a user-given maxLineLength.
lib/bio/bio.go:141
↓ 1 callersFunctionNewStats
NewStats returns a new instance of codon statistics (a set of statistics we maintain throughout a translation table's lifetime)
lib/synthesis/codon/codon.go:131
↓ 1 callersFunctionNewStemStructure
NewStemStructure is a wrapper to create a `StemStructure` and call the functions (`(*StemStructure).setStructureType`) required to initialize the stru
lib/fold/mfe/secondary_structure/secondary_structure.go:246
↓ 1 callersFunctionNewSubstitutionMatrix
NewSubstitutionMatrix creates a new substitution matrix from two alphabets and a 2D array of scores.
lib/align/matrix/matrix.go:20
↓ 1 callersMethodNext
****************************************************************************** Parser higher-level functions ***************************************
lib/bio/bio.go:195
↓ 1 callersFunctionNextOverhangs
NextOverhangs gets a list of possible next overhangs to use for an overhang list, along with their efficiencies. This can be used for more optimal fra
lib/synthesis/fragment/fragment.go:44
↓ 1 callersFunctionNucleobaseDeBruijnSequence
****************************************************************************** May 23 2021 Start of the De Bruijn stuff === Barcode basics === We'r
lib/primers/primers.go:225
↓ 1 callersMethodParseN
ParseN returns a countN number of records/reads/lines from the parser.
lib/bio/bio.go:219
↓ 1 callersFunctionPileup
Pileup generates a pileup file from sam alignments. Specifically, it runs the following commands, with the sam alignments in stdin and the templateFas
external/samtools/samtools.go:27
↓ 1 callersMethodPop
()
lib/fold/linearfold/linearfold.go:416
↓ 1 callersFunctionPrimary
****************************************************************************** Jan 01, 2024 Below are some helper functions that I've found are usefu
lib/bio/sam/sam.go:545
↓ 1 callersFunctionRebase
Rebase returns the rebase database as of Nov 27 2023.
lib/bio/rebase/rebase.go:294
↓ 1 callersFunctionReverseComplementRNA
ReverseComplementRNA returns the reversed complement of sequence. It is the equivalent of calling revComplement := Reverse(ComplementRNA(sequence))
lib/transform/transform.go:118
↓ 1 callersFunctionSantaLucia
penalty for 3' AT ****************************************************************************** End of melting temp penalties section for SantaLucia
lib/primers/primers.go:69
↓ 1 callersMethodScore
Score returns the score of two symbols in the substitution matrix.
lib/align/matrix/matrix.go:28
↓ 1 callersMethodSet2
(score float64, manner int, l1 rune, l2 int)
lib/fold/linearfold/linearfold.go:334
↓ 1 callersMethodSet3
(score float64, manner int, split int)
lib/fold/linearfold/linearfold.go:341
↓ 1 callersMethodSimilarity
Similarity returns the Jaccard similarity between two sketches (number of matching hashes / sketch size)
lib/align/mash/mash.go:112
↓ 1 callersMethodStoreSequence
StoreSequence infers and assigns the value of feature.Sequence if currently an empty string.
lib/bio/genbank/genbank.go:158
↓ 1 callersFunctionSvbCompressRawSignal
****************************************************************************** Aug 15, 2023 StreamVByte (svb) compression of raw signal strength is u
lib/bio/slow5/slow5.go:504
← previousnext →201–300 of 862, ranked by callers