Genotype API Documentation - v0.1.0
Preparing search index...
BackendService
Class BackendService
The full service interface for genotype compute backends.
Hierarchy
Shape
<
"@genotype/BackendService"
,
{
kind
:
"none"
|
"node-native"
|
"wasm"
;
grepBatch
(
sequences
:
Uint8Array
,
offsets
:
Uint32Array
,
pattern
:
Uint8Array
,
options
:
GrepBatchOptions
,
)
:
Effect
<
Uint8Array
<
ArrayBufferLike
>
,
BackendError
>
;
findPatternBatch
(
sequences
:
Uint8Array
,
offsets
:
Uint32Array
,
pattern
:
Uint8Array
,
options
:
FindPatternBatchOptions
,
)
:
Effect
<
PatternSearchResult
,
BackendError
>
;
transformBatch
(
sequences
:
Uint8Array
,
offsets
:
Uint32Array
,
op
:
TransformOp
,
)
:
Effect
<
TransformResult
,
BackendError
>
;
removeGapsBatch
(
sequences
:
Uint8Array
,
offsets
:
Uint32Array
,
gapChars
:
string
,
)
:
Effect
<
TransformResult
,
BackendError
>
;
replaceAmbiguousBatch
(
sequences
:
Uint8Array
,
offsets
:
Uint32Array
,
replacement
:
string
,
)
:
Effect
<
TransformResult
,
BackendError
>
;
replaceInvalidBatch
(
sequences
:
Uint8Array
,
offsets
:
Uint32Array
,
mode
:
ValidationMode
,
replacement
:
string
,
)
:
Effect
<
TransformResult
,
BackendError
>
;
classifyBatch
(
sequences
:
Uint8Array
,
offsets
:
Uint32Array
,
)
:
Effect
<
ClassifyResult
,
BackendError
>
;
checkValidBatch
(
sequences
:
Uint8Array
,
offsets
:
Uint32Array
,
mode
:
ValidationMode
,
)
:
Effect
<
Uint8Array
<
ArrayBufferLike
>
,
BackendError
>
;
qualityAvgBatch
(
quality
:
Uint8Array
,
offsets
:
Uint32Array
,
asciiOffset
:
number
,
)
:
Effect
<
Float64Array
<
ArrayBufferLike
>
,
BackendError
>
;
qualityTrimBatch
(
quality
:
Uint8Array
,
offsets
:
Uint32Array
,
asciiOffset
:
number
,
threshold
:
number
,
windowSize
:
number
,
trimStart
:
boolean
,
trimEnd
:
boolean
,
)
:
Effect
<
Uint32Array
<
ArrayBufferLike
>
,
BackendError
>
;
qualityBinBatch
(
quality
:
Uint8Array
,
offsets
:
Uint32Array
,
boundaries
:
Uint8Array
,
representatives
:
Uint8Array
,
)
:
Effect
<
TransformResult
,
BackendError
>
;
sequenceMetricsBatch
(
sequences
:
Uint8Array
,
seqOffsets
:
Uint32Array
,
quality
:
Uint8Array
,
qualOffsets
:
Uint32Array
,
metricFlags
:
number
,
asciiOffset
:
number
,
)
:
Effect
<
SequenceMetricsResult
,
BackendError
>
;
translateBatch
(
sequences
:
Uint8Array
,
offsets
:
Uint32Array
,
translationLut
:
Uint8Array
,
startMask
:
Uint8Array
,
alternativeStartMask
:
Uint8Array
,
options
:
TranslateBatchOptions
,
)
:
Effect
<
TransformResult
,
BackendError
>
;
hashBatch
(
sequences
:
Uint8Array
,
offsets
:
Uint32Array
,
caseInsensitive
:
boolean
,
)
:
Effect
<
Uint8Array
<
ArrayBufferLike
>
,
BackendError
>
;
createAlignmentReaderFromPath
(
path
:
string
,
)
:
Effect
<
AlignmentReaderHandle
,
BackendError
>
;
createAlignmentReaderFromBytes
(
bytes
:
Uint8Array
,
)
:
Effect
<
AlignmentReaderHandle
,
BackendError
>
;
createFastqReaderFromPath
(
path
:
string
,
)
:
Effect
<
FastqReaderHandle
,
BackendError
>
;
createFastqReaderFromBytes
(
bytes
:
Uint8Array
,
)
:
Effect
<
FastqReaderHandle
,
BackendError
>
;
createFastaReaderFromPath
(
path
:
string
,
)
:
Effect
<
FastaReaderHandle
,
BackendError
>
;
createFastaReaderFromBytes
(
bytes
:
Uint8Array
,
)
:
Effect
<
FastaReaderHandle
,
BackendError
>
;
createFastqWriter
(
path
:
string
|
null
,
compress
:
boolean
,
)
:
Effect
<
FastqWriterHandle
,
BackendError
>
;
createFastaWriter
(
path
:
string
|
null
,
compress
:
boolean
,
lineWidth
:
number
,
)
:
Effect
<
FastaWriterHandle
,
BackendError
>
;
}
,
this
,
>
BackendService
Index
Constructors
constructor
Properties
Null
Layer
Constructors
constructor
new
BackendService
(
_
:
never
)
:
BackendService
Parameters
_
:
never
Returns
BackendService
Properties
Static
Readonly
Null
Layer
NullLayer
:
Layer
<
BackendService
>
= ...
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
Null
Layer
Genotype API Documentation - v0.1.0
Loading...
The full service interface for genotype compute backends.