galaxy_sam_reheader
Galaxy · Genomics · AlignmentsReplace SAM metadata while preserving the reference dictionary.
Use this operator
operator: galaxy_sam_reheader@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. Replaces header text only; requires an identical ordered @SQ dictionary, so alignments remain valid. UTF-8 SAM text only, no BAM/CRAM or indexed random access. Requires @SQ for mapped reads; validates flags, coordinates, CIGAR, sequence and quality. At most 100000 reference sequences.
Formats: Any compatible format - resultOutputbytes
Replace SAM metadata while preserving the reference dictionary. Replaces header text only; requires an identical ordered @SQ dictionary, so alignments remain valid. UTF-8 SAM text only, no BAM/CRAM or indexed random access. Requires @SQ for mapped reads; validates flags, coordinates, CIGAR, sequence and quality. At most 100000 reference sequences.
Output structure and samples are provided by operator inference.
Parameters
- header_linesarrayOptional
Complete replacement SAM header lines; the ordered reference dictionary must match.
- How to fill
- Complete replacement SAM header lines; the ordered reference dictionary must match. Replaces header text only; requires an identical ordered @SQ dictionary, so alignments remain valid. UTF-8 SAM text only, no BAM/CRAM or indexed random access. Requires @SQ for mapped reads; validates flags, coordinates, CIGAR, sequence and quality. At most 100000 reference sequences. · Maximum items: 128
- Example value
- ["@HD\tVN:1.6\tSO:unknown","@SQ\tSN:chr1\tLN:10"]
- Default value
- ["@HD\tVN:1.6\tSO:unknown","@SQ\tSN:chr1\tLN:10"]
Operator usage example
Connect the input ports to upstream steps and adjust the parameters for your data.
id: process
operator: galaxy_sam_reheader@1.0
inputs:
source: read
params: {}
Manual download
curl -fLo 'operator.jar' 'https://repo.conox.cn/v1/blobs/sha256/ff1d53d4bbee39351daf6a714cd916f6864638705b5dd8870a056ae17b0869e3/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.