galaxy_vcf_to_pgsnp
Galaxy · BioinformaticsConvert called VCF SNP genotypes to pgSnp allele counts.
Use this operator
operator: galaxy_vcf_to_pgsnp@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. Zero selects all samples; otherwise use a one-based VCF column >=10. Only single-base A/C/G/T SNPs with PASS or missing FILTER are converted. GT position, haploidy, phased calls and all allele indices are handled; missing alleles ignored.
Formats: Any compatible format - resultOutputbytes
Convert called VCF SNP genotypes to pgSnp allele counts. Zero selects all samples; otherwise use a one-based VCF column >=10. Only single-base A/C/G/T SNPs with PASS or missing FILTER are converted. GT position, haploidy, phased calls and all allele indices are handled; missing alleles ignored.
Output structure and samples are provided by operator inference.
Parameters
- sample_columnintegerOptional
One-based VCF sample column, or zero for all samples.
- How to fill
- One-based VCF sample column, or zero for all samples. Zero selects all samples; otherwise use a one-based VCF column >=10. Only single-base A/C/G/T SNPs with PASS or missing FILTER are converted. GT position, haploidy, phased calls and all allele indices are handled; missing alleles ignored. · Minimum: 0 · Maximum: 65536
- Example value
- 0
- Default value
- 0
- prefix_chrbooleanOptional
Add chr to sequence names without that prefix.
- How to fill
- Add chr to sequence names without that prefix. Zero selects all samples; otherwise use a one-based VCF column >=10. Only single-base A/C/G/T SNPs with PASS or missing FILTER are converted. GT position, haploidy, phased calls and all allele indices are handled; missing alleles ignored.
- Example value
- true
- Default value
- true
Operator usage example
Connect the input ports to upstream steps and adjust the parameters for your data.
id: process
operator: galaxy_vcf_to_pgsnp@1.0
inputs:
source: read
params:
sample_column: 0
prefix_chr: true
Manual download
curl -fLo 'operator.jar' 'https://repo.conox.cn/v1/blobs/sha256/2348ccf7e62e35845caf575a926e0dc86f7afbdd33f52212f82835191fd7c850/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
Compile every src/*.scala against the shared SDK using the jvm-arrow@2.1 Scala builder. Include resources/ in the thin JAR. No external dependencies. See extra-specs.json, README and upstream-extended/ for reviewed sources, explicit supported scope and test 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.