galaxy_seqtk_sample
Galaxy · Sequence analysis · BioinformaticsReservoir-sample a bounded number of FASTA records.
Use this operator
operator: galaxy_seqtk_sample@1.0Configure remote_operator_library_urls with this repository’s origin. XStream verifies and caches artifacts by digest, sharing them across operators.
Named ports
- sourceInputbytes
UTF-8 bytes stream. Single-pass count-based sampling; no fraction or two-pass mode. JVM RNG differs from seqtk. Reservoir output order; total retained characters limited to 8 MiB. FASTA text only unless explicitly stated; one sequence is limited to 8 MiB characters. Output is LF-normalized and unwrapped.
Formats: Any compatible format - resultOutputbytes
Reservoir-sample a bounded number of FASTA records. Single-pass count-based sampling; no fraction or two-pass mode. JVM RNG differs from seqtk. Reservoir output order; total retained characters limited to 8 MiB. FASTA text only unless explicitly stated; one sequence is limited to 8 MiB characters. Output is LF-normalized and unwrapped.
Output structure and samples are provided by operator inference.
Parameters
- countintegerOptional
Number of reservoir slots.
- How to fill
- Number of reservoir slots. Single-pass count-based sampling; no fraction or two-pass mode. JVM RNG differs from seqtk. Reservoir output order; total retained characters limited to 8 MiB. FASTA text only unless explicitly stated; one sequence is limited to 8 MiB characters. Output is LF-normalized and unwrapped. · Minimum: 1 · Maximum: 10000
- Example value
- 10
- Default value
- 10
- seedintegerOptional
Seed for the JVM deterministic random generator.
- How to fill
- Seed for the JVM deterministic random generator. Single-pass count-based sampling; no fraction or two-pass mode. JVM RNG differs from seqtk. Reservoir output order; total retained characters limited to 8 MiB. FASTA text only unless explicitly stated; one sequence is limited to 8 MiB characters. Output is LF-normalized and unwrapped. · Minimum: 0 · Maximum: 2147483647
- Example value
- 11
- Default value
- 11
Operator usage example
Connect the input ports to upstream steps and adjust the parameters for your data.
id: process
operator: galaxy_seqtk_sample@1.0
inputs:
source: read
params: {}
Manual download
curl -fLo 'operator.jar' 'https://repo.conox.cn/v1/blobs/sha256/efc7c3e26eb43f2374d510a10e1820deafd588a6ba850d75796cf2041763acd5/operator.jar'
sha256sum -- 'operator.jar'
curl -fLo 'GALAXY-LICENSE.txt' 'https://repo.conox.cn/v1/blobs/sha256/b5c47c1fc99e3f0f24de342af06da7bbaf8f394f1b6be0295d0d2ebcf7e874cf/GALAXY-LICENSE.txt'
sha256sum -- 'GALAXY-LICENSE.txt'Compare checksums with the manifest. Download execution and build environments from the runtime catalog ↗.
Source and licensing
See Source archive under Artifact details
- Source repository
- https://github.com/galaxyproject/tools-iuc
- Source revision
- a9914e6c25a7aee16191a11c654ea25d72d0017c
- License (publisher declared)
- AFL-3.0 AND MIT
- License text
- Available below
- Dependency SBOM
- Dependency SBOM not provided
Build instructions
Compile every src/*.scala against the shared SDK using the jvm-arrow@2.1 Scala builder; include resources/ in the thin JAR. No external runtime dependencies. See README, extra-specs.json, upstream manifests and dependency evidence for supported scopes, licenses and tests.
Publisher-provided source, licenses and dependency information support your review. Availability and checksums do not certify safety, legal clearance, or that the executable matches the source.