OPERATOR / VERSION 1.0

galaxy_sam_filter_flags

Galaxy · SAM · Bioinformatics

Select SAM alignments by required and excluded bit masks; omit headers and comments.

View manifest JSON ↗

Use this operator

operator: galaxy_sam_filter_flags@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

    Select SAM alignments by required and excluded bit masks; omit headers and comments.

Output structure and samples are provided by operator inference.

Parameters

  • require_flagsintegerOptional

    SAM flags that must all be set.

    How to fill
    Integer bit mask, for example 2 for properly paired reads. Must not overlap exclude_flags. · Minimum: 0 · Maximum: 65535
    Example value
    2
    Default value
    0
  • exclude_flagsintegerOptional

    SAM flags that must all be unset.

    How to fill
    Integer bit mask, for example 4 for unmapped reads or 1024 for duplicates. SAM flags are 16-bit integers. · Minimum: 0 · Maximum: 65535
    Example value
    4
    Default value
    0

Operator usage example

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

id: process
operator: galaxy_sam_filter_flags@1.0
inputs:
  source: read
params:
  require_flags: 2
  exclude_flags: 4

Manual download

curl -fLo 'operator.jar' 'https://repo.conox.cn/v1/blobs/sha256/8dd2bdb27c47e1cca3c7c0e39dd779133c46cb5ac958995db2bee2a093b29830/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.