Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Genomics", "Variant analysis"], "description": "Convert GT calls to a requested constant ploidy.", "documentation": {"example_job": "name: Convert GT calls to a requested constant ploidy.\nsteps:\n- id: read\n  operator: read_item@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/vcf_fix_ploidy.txt\n    view: bytes\n- id: process\n  operator: galaxy_vcf_fix_ploidy@1.0\n  inputs:\n    source: read\n  params: {}\noutputs:\n  result: process\n", "inputs": {"source": "UTF-8 bytes stream. Constant ploidy for all samples and contigs; no sex maps or likelihood remapping. Other FORMAT fields unchanged. Strict uncompressed UTF-8 VCF text with one #CHROM header; no BCF, indexing or expression evaluation. Up to 1024 samples; malformed records fail."}, "outputs": {"result": "Convert GT calls to a requested constant ploidy. Constant ploidy for all samples and contigs; no sex maps or likelihood remapping. Other FORMAT fields unchanged. Strict uncompressed UTF-8 VCF text with one #CHROM header; no BCF, indexing or expression evaluation. Up to 1024 samples; malformed records fail."}, "parameters": {"ploidy": {"description": "Target ploidy. Truncate extra alleles or repeat the last allele when expanding.", "example": 1, "help": "Target ploidy. Truncate extra alleles or repeat the last allele when expanding. Constant ploidy for all samples and contigs; no sex maps or likelihood remapping. Other FORMAT fields unchanged. Strict uncompressed UTF-8 VCF text with one #CHROM header; no BCF, indexing or expression evaluation. Up to 1024 samples; malformed records fail."}}}, "entrypoint": "xstream.galaxy.VcfFixPloidy", "fixture": {"data": "##fileformat=VCFv4.2\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\tFORMAT\tA\tB\n1\t10\t.\tA\tG\t30\tPASS\t.\tGT:DP\t0/1:8\t./.:0\n", "expected": "##fileformat=VCFv4.2\n#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\tFORMAT\tA\tB\n1\t10\t.\tA\tG\t30\tPASS\t.\tGT:DP\t0:8\t.:0\n", "params": {}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "implementation": "VariantStreams", "name": "galaxy_vcf_fix_ploidy", "parameters": {"additionalProperties": false, "properties": {"ploidy": {"default": 1, "description": "Target ploidy. Truncate extra alleles or repeat the last allele when expanding.", "maximum": 8, "minimum": 1, "type": "integer"}}, "required": [], "type": "object"}, "params": {}, "scope": "Constant ploidy for all samples and contigs; no sex maps or likelihood remapping. Other FORMAT fields unchanged. Strict uncompressed UTF-8 VCF text with one #CHROM header; no BCF, indexing or expression evaluation. Up to 1024 samples; malformed records fail.", "upstream": {"path": "tools/bcftools/bcftools_plugin_fixploidy.xml", "repository": "https://github.com/galaxyproject/tools-iuc"}, "version": "1.0"}