MCPcopy Create free account

hub / github.com/Koeng101/dnadesign / functions

Functions862 in github.com/Koeng101/dnadesign

↓ 44 callersMethodWrite
(p []byte)
lib/bio/fasta/fasta_test.go:145
↓ 32 callersFunctionparseItemsIntoIntMatrix
***************************************************************************** Section: Parsing Into Matrices The following section contains funcs nee
lib/fold/mfe/energy_params/parse.go:276
↓ 27 callersMethodWait
Wait blocks until all function calls from the Go method have returned, then returns the first non-nil error (if any) from them.
lib/bio/errgroup/errgroup.go:55
↓ 25 callersFunctiongenerateCodonTable
****************************************************************************** Oct, 15, 2020 Codon table generation stuff begins here. Alright, I kn
lib/synthesis/codon/codon.go:354
↓ 24 callersMethodGo
Go calls the given function in a new goroutine. It blocks until the new goroutine can be added without the number of active goroutines in the group ex
lib/bio/errgroup/errgroup.go:69
↓ 24 callersMethodParse
Parse returns all records/reads/lines from the parser, but does not include the header. It can only be called once on a given parser because it will r
lib/bio/bio.go:237
↓ 22 callersMethodNext
()
lib/bio/bio.go:85
↓ 21 callersFunctionSET_HELIX_STACKING
(x rune, y rune, z rune, w rune, val bool)
lib/fold/linearfold/linearfold.go:211
↓ 21 callersFunctionread
****************************************************************************** GBK specific IO related things end here. ****************************
lib/bio/genbank/genbank.go:1187
↓ 20 callersMethodError
()
lib/synthesis/codon/codon.go:65
↓ 20 callersFunctionrescaleDgMatrix
rescaleDgMatrix maps the function `rescaleDg` onto a given `energy` and `enthalpy` matrix, and returns a matrix with the scaled energy param values (w
lib/fold/mfe/energy_params/scale.go:136
↓ 19 callersMethodError
()
lib/bio/genbank/genbank.go:483
↓ 18 callersFunctionNewTranslationTable
NewTranslationTable takes the index of desired NCBI codon table and returns it.
lib/synthesis/codon/codon.go:409
↓ 17 callersFunctionNewState
()
lib/fold/linearfold/linearfold.go:308
↓ 17 callersFunctiondeltaG
Find the free energy given delta h, s and temp Args: enthalpyHDifference: The enthalpy increment in kcal / mol entropySDifference: The entropy incr
lib/fold/zuker/fold.go:750
↓ 16 callersFunctioncompareMFEOutputToViennaRNA
(sequence, structure string, temperature float64, energyParamsSet energy_params.EnergyParamsSet, dangleModel D
lib/fold/mfe/mfe_test.go:1886
↓ 16 callersFunctiontestParseReadsHelper
(t *testing.T, fileTarget string, errorMessage string)
lib/bio/slow5/slow5_test.go:87
↓ 15 callersMethodError
Error returns the error message for AlphabetError.
lib/alphabet/alphabet.go:20
↓ 15 callersFunctionbuildMetaString
buildMetaString is a helper function to build the meta section of genbank files.
lib/bio/genbank/genbank.go:1093
↓ 14 callersMethodUpdateWeightsWithSequence
UpdateWeightsWithSequence will look at the coding regions in the given genbank data, and use those to generate new weights for the codons in the trans
lib/synthesis/codon/codon.go:209
↓ 14 callersFunctioncpuid_low
(arg1, arg2 uint32)
lib/bio/slow5/svb/cpuid/cpuid_amd64.go:12
↓ 14 callersFunctionstack
stack returns the free energy of a stack. Using the indexes start and end, check whether it's at the end of the sequence or internal. Then check whet
lib/fold/zuker/fold.go:609
↓ 12 callersFunctionCds
* # For developers FixCDS is the core function of the synthesis fixing package. It takes a CDS and uses degenerate codons to fix up places with undes
lib/synthesis/fix/synthesis.go:219
↓ 12 callersFunctionNUM_TO_NUC
(x int)
lib/fold/linearfold/linearfold.go:1610
↓ 11 callersFunctionHash2
Hash2 creates a version 2 seqhash.
lib/seqhash/seqhash.go:232
↓ 11 callersMethodOptimize
Optimize will return a set of codons which can be used to encode the given amino acid sequence. The codons picked are weighted according to the comput
lib/synthesis/codon/codon.go:172
↓ 11 callersFunctionnewFoldingContext
newFoldingContext returns a context ready to use, in case of error the returned FoldingContext is empty.
lib/fold/zuker/seqfold.go:148
↓ 10 callersFunctionEncodeHash2
EncodeHash2 encodes Hash2 as a base58 string. It also adds a single letter metadata tag that can be used as an easy heuristic for an LLM to identify m
lib/seqhash/seqhash.go:398
↓ 10 callersMethodEqual
Equal returns true if two nucleicAcidStructures are equal
lib/fold/zuker/seqfold.go:106
↓ 10 callersMethodLen
()
lib/bio/slow5/svb/codec.go:40
↓ 10 callersFunctionNewParser
NewParser parsers a slow5 file.
lib/bio/slow5/slow5.go:123
↓ 10 callersMethodSketch
Sketch generates a mash sketch of the sequence.
lib/align/mash/mash.go:72
↓ 10 callersMethodWriteTo
WriteTo is a blank function, needed for compatibility with bio parsers. It doesn't do anything.
lib/bio/genbank/genbank.go:560
↓ 10 callersFunctionpair
pair Returns a stack representation, a key for the nearestNeighbors maps Args: s: Sequence being folded start: leftmost index rightOfStart: index
lib/fold/zuker/fold.go:786
↓ 10 callersFunctionunpairedMinimumFreeEnergyW
unpairedMinimumFreeEnergyW returns the minimum free energy of a subsequence at start and terminating at end. From Zuker and Stiegler, 1981: let W(i,j
lib/fold/zuker/fold.go:85
↓ 9 callersMethodEncode
Encode returns the index of a symbol in the alphabet.
lib/alphabet/alphabet.go:35
↓ 9 callersFunctionSecondaryStructureFromDotBracket
SecondaryStructureFromDotBracket returns the annotated structure and `SecondaryStructure` of a RNA sequence from its 'dot-bracket' structure.
lib/fold/mfe/secondary_structure/dot_bracket.go:67
↓ 9 callersMethodWriteTo
WriteTo writes a SAM header to an io.Writer.
lib/bio/sam/sam.go:78
↓ 9 callersFunctionnewIntSlice
returns a slice of length `length` with all values set to `value`
lib/fold/mfe/energy_params/parse.go:535
↓ 9 callersFunctionrescaleDg
Rescale Gibbs free energy according to the equation dG = dH - T * dS where dG is the change in Gibbs free energy dH is the change in enthalpy dS is
lib/fold/mfe/energy_params/scale.go:89
↓ 8 callersMethodDistance
Distance returns the Jaccard distance between two sketches (1 - similarity)
lib/align/mash/mash.go:143
↓ 8 callersMethodGetSequence
GetSequence returns the sequence of a feature.
lib/bio/genbank/genbank.go:152
↓ 8 callersMethodNext
Next parses the next read from a parser.
lib/bio/slow5/slow5.go:216
↓ 8 callersMethodNext
Next reads next fasta genome in underlying reader and returns the result and the amount of bytes read during the call. Next only returns an error if i
lib/bio/fasta/fasta.go:109
↓ 8 callersFunction_create_c_string_array
(python_strings: List[str])
py/dnadesign/fragment.py:11
↓ 8 callersFunctionisSecondaryStructuresEqual
(structA, structB SecondaryStructure)
lib/fold/mfe/secondary_structure/dot_bracket_test.go:620
↓ 8 callersFunctionupdate_if_better
(s *State, newscore float64, manner int)
lib/fold/linearfold/linearfold.go:312
↓ 7 callersFunctionCdsSimple
CdsSimple is FixCds with some defaults for normal usage, including removing of homopolymers, removing any repeat larger than 18 base pairs, and fixing
lib/synthesis/fix/synthesis.go:388
↓ 7 callersFunctionCutWithEnzymeByName
****************************************************************************** Base cloning functions begin here. **********************************
lib/clone/clone.go:111
↓ 7 callersMethodGet
Get 0-based ith uint32
lib/bio/slow5/svb/codec.go:51
↓ 7 callersFunctionRemoveSequence
RemoveSequence is a generator for a problematicSequenceFuncs for specific sequences.
lib/synthesis/fix/synthesis.go:59
↓ 7 callersMethodTryGo
TryGo calls the given function in a new goroutine only if the number of active goroutines in the group is currently below the configured limit. The r
lib/bio/errgroup/errgroup.go:93
↓ 7 callersFunctionencodedBasePairType
encodedBasePairType encodes a base pair according to `energy_params.BasePairTypeEncodedInt`
lib/fold/mfe/mfe.go:200
↓ 7 callersFunctionparseMetadata
(metadataData []string)
lib/bio/genbank/genbank.go:798
↓ 7 callersFunctionreadLine
readLine reads a line and returns the line and whether a line could be read
lib/fold/mfe/energy_params/parse.go:333
↓ 6 callersFunctionCONTRAfoldV2Test
(sequence, expectedStructure string, expectedScore float64, t *testing.T)
lib/fold/linearfold/linearfold_test.go:64
↓ 6 callersMethodDecodeElement
(v interface{}, start *xml.StartElement)
lib/bio/uniprot/uniprot.go:35
↓ 6 callersMethodGetWeightedAminoAcids
()
lib/synthesis/codon/codon.go:118
↓ 6 callersFunctionNUM_TO_PAIR
(x, y int)
lib/fold/linearfold/linearfold.go:1628
↓ 6 callersFunctionNewParser
(r io.Reader)
lib/bio/uniref/uniref.go:99
↓ 6 callersFunctionNewParser
NewParser creates a parser from an io.Reader for pileup data.
lib/bio/pileup/pileup.go:81
↓ 6 callersFunctionNewParser
NewParser returns a Parser that uses r as the source from which to parse fasta formatted sequences.
lib/bio/fasta/fasta.go:87
↓ 6 callersMethodNext
Next returns the next Entry from the UniRef file
lib/bio/uniref/uniref.go:119
↓ 6 callersMethodNext
Next parses the next pileup row in a pileup file. Next returns an EOF if encountered.
lib/bio/pileup/pileup.go:89
↓ 6 callersFunctionSimulate
Simulate simulates a PCR reaction, including concatemerization analysis. It takes in a list of sequences and list of primers, produces all possible PC
lib/primers/pcr/pcr.go:170
↓ 6 callersFunctionUint32Encode
Uint32Encode encode []uint32 with stream vbytes codec as LittleEndian
lib/bio/slow5/svb/encoder.go:6
↓ 6 callersFunctionZuker
Zuker folds the DNA sequence and return the lowest free energy score. Based on the approach described in: Zuker and Stiegler, 1981 https://www.ncbi.n
lib/fold/zuker/fold.go:57
↓ 6 callersFunction_create_c_string
(python_string: str)
py/dnadesign/clone.py:15
↓ 6 callersFunctiongenerateWhiteSpace
(length int)
lib/bio/genbank/genbank.go:1163
↓ 6 callersFunctionsort_keys
only used for ViennaRNA fold model
lib/fold/linearfold/linearfold.go:1634
↓ 6 callersFunctiontestException
(t *testing.T, filePath string, errorString string)
lib/bio/fastq/fastq_test.go:10
↓ 5 callersFunctionBeamPrune
(beamstep *map[int]*State)
lib/fold/linearfold/linearfold.go:1221
↓ 5 callersFunctionBenchmarkRead
(b *testing.B)
lib/bio/genbank/genbank_test.go:264
↓ 5 callersFunctionComplementBase
ComplementBase accepts a base pair and returns its complement base pair. See Complement. This function expects byte characters in the range a-z and A
lib/transform/transform.go:69
↓ 5 callersFunctionDecodeHash2
DecodeHash2 decodes a seqhash into a [16]byte, including the metadata tag.
lib/seqhash/seqhash.go:409
↓ 5 callersFunctionMin
(a, b int)
lib/fold/linearfold/linearfold.go:215
↓ 5 callersMethodNext
Next reads next fastq genome in underlying reader and returns the result and the amount of bytes read during the call. Next only returns an error if i
lib/bio/fastq/fastq.go:102
↓ 5 callersMethodRead
(p []byte)
py/lib.go:168
↓ 5 callersFunctionRotateSequence
RotateSequence rotates circular sequences to deterministic point.
lib/seqhash/seqhash.go:149
↓ 5 callersMethodSet
(score float64, manner int)
lib/fold/linearfold/linearfold.go:329
↓ 5 callersMethodValid
Valid returns true if the NucleicAcidStructure is valid
lib/fold/zuker/seqfold.go:119
↓ 5 callersFunctionaddOffset2Dim
(values [][]int, dim1Offset, dim2Offset int, offsetType offsetType)
lib/fold/mfe/energy_params/parse.go:543
↓ 5 callersFunctionaddOffset3Dim
(values [][][]int, dim1Offset, dim2Offset, dim3Offset int, offsetType offsetType)
lib/fold/mfe/energy_params/parse.go:632
↓ 5 callersFunctionaddOffset4Dim
(values [][][][]int, dim1Offset, dim2Offset, dim3Offset, dim4Offset int, offsetType offsetType)
lib/fold/mfe/energy_params/parse.go:667
↓ 5 callersFunctionaddOffset5Dim
(values [][][][][]int, dim1Offset, dim2Offset, dim3Offset, dim4Offset, dim5Offset int, offsetType offsetType)
lib/fold/mfe/energy_params/parse.go:704
↓ 5 callersFunctionboolToInt
(b bool)
py/lib.go:433
↓ 5 callersFunctiongetIntMatrixDims
getIntMatrixDims returns the dimensions of a int matrix (up to 6 dimensions)
lib/fold/mfe/energy_params/parse.go:576
↓ 5 callersFunctionint32sToBytes
(args ...uint32)
lib/bio/slow5/svb/cpuid/cpuid_amd64.go:583
↓ 5 callersFunctionloop
(suffix string, i, m GP, lookup, offset Register, vsf vectorShuffle)
lib/bio/slow5/svb/asm/asm.go:214
↓ 5 callersFunctionmax
(a, b int)
lib/align/align.go:243
↓ 5 callersFunctionscore_multi_unpaired
(i, j int)
lib/fold/linearfold/linearfold.go:1311
↓ 4 callersFunctionAllVariantsIUPAC
AllVariantsIUPAC takes a string as input and returns all iupac variants as output
lib/transform/variants/variants.go:18
↓ 4 callersFunctionComplementBaseRNA
ComplementBaseRNA accepts a RNA base pair and returns its complement base pair. See Complement. This function expects byte characters in the range a-
lib/transform/transform.go:158
↓ 4 callersFunctionCutWithEnzyme
CutWithEnzyme cuts a given sequence with an enzyme represented by an Enzyme struct. If there is methylated parts of the target DNA, set the "methylate
lib/clone/clone.go:125
↓ 4 callersMethodDotBracket
DotBracket returns the dot-bracket notation of the secondary nucleic acid structure resulting from folding a sequence. Dot-bracket notation, consisti
lib/fold/zuker/seqfold.go:205
↓ 4 callersFunctionEvaluateMultiLoopStem
Compute the energy contribution of a multi-loop stem. Given a base pair (i,j) (encoded by `energy_params.EncodeBasePair()`), compute the energy contr
lib/fold/mfe/mfe.go:672
↓ 4 callersFunctionGET_ACGU_NUM
(x rune)
lib/fold/linearfold/linearfold.go:172
↓ 4 callersFunctionLigate
Ligate simulates ligations. It assumes that fragments can only be ligated in a single way (no 2 fragments with the same overhangs), and also assumes t
lib/clone/clone.go:268
↓ 4 callersMethodMatch
Match matches a sequence to all the sequences in a megamash map.
lib/align/megamash/megamash.go:114
↓ 4 callersMethodMinimumFreeEnergy
MinimumFreeEnergy return just the delta G of the structures resulting from folding a sequence. Returns the minimum free energy of the folded sequence
lib/fold/zuker/seqfold.go:236
next →1–100 of 862, ranked by callers