OPERATOR / VERSION 1.0

galaxy_sam_to_interval

Galaxy · SAM · Bioinformatics

Convert mapped SAM alignments to zero-based half-open genomic intervals using reference-consuming CIGAR operations.

View manifest JSON ↗

Use this operator

operator: galaxy_sam_to_interval@1.0

Configure 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 SAM bytes, including optional @ headers. Alignments require at least 11 fields.

    Formats: Any compatible format
  • resultOutputbytes

    Convert mapped SAM alignments to zero-based half-open genomic intervals using reference-consuming CIGAR operations.

Output structure and samples are provided by operator inference.

Parameters

  • print_allbooleanOptional

    Whether to retain original SAM fields after interval coordinates.

    How to fill
    false emits chromosome, start, end, strand and read name. true appends the complete original SAM row after strand. CIGAR M/D/N/=/X consume reference bases; I/S/H/P do not.
    Example value
    false
    Default value
    false

Operator usage example

Connect the input ports to upstream steps and adjust the parameters for your data.

id: process
operator: galaxy_sam_to_interval@1.0
inputs:
  source: read
params:
  print_all: false

Manual download

curl -fLo 'operator.jar' 'https://repo.conox.cn/v1/blobs/sha256/4f28f963e7fb08ab14081f1d5d64ddc51867be577e31cb8aa22233544d13d578/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-devteam
Source revision
ddbe2a1e6eded54877d786fbcfc18e594fb12932
License (publisher declared)
AFL-3.0 AND MIT
License text
Available below
Dependency SBOM
Dependency SBOM not provided

Build instructions

Scala adaptation sources are src/Galaxy.scala, src/Sequences.scala and src/Alignments.scala. Compile against the shared SDK with the registered jvm-arrow@2.1 Scala builder; include resources/ in the thin JAR. No external libraries beyond the shared runtime. README files document upstream behavior and deliberate fixes; upstream/ retains original tools and fixtures.

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.