Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Genomics", "Variant analysis"], "description": "Rename VCF samples using explicit name pairs.", "documentation": {"example_job": "name: Rename VCF samples using explicit name pairs.\nsteps:\n- id: read\n  operator: read_item@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/vcf_rename_samples.txt\n    view: bytes\n- id: process\n  operator: galaxy_vcf_rename_samples@1.0\n  inputs:\n    source: read\n  params: {}\noutputs:\n  result: process\n", "inputs": {"source": "UTF-8 bytes stream. Only sample names are changed; chromosome metadata and sample values remain intact. 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": "Rename VCF samples using explicit name pairs. Only sample names are changed; chromosome metadata and sample values remain intact. Strict uncompressed UTF-8 VCF text with one #CHROM header; no BCF, indexing or expression evaluation. Up to 1024 samples; malformed records fail."}, "parameters": {"renames": {"description": "Unique old=new mappings; resulting names must remain unique.", "example": ["A=Alice"], "help": "Unique old=new mappings; resulting names must remain unique. Only sample names are changed; chromosome metadata and sample values remain intact. 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.VcfRenameSamples", "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\tAlice\tB\n1\t10\t.\tA\tG\t30\tPASS\t.\tGT:DP\t0/1:8\t./.:0\n", "params": {}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "implementation": "VariantStreams", "name": "galaxy_vcf_rename_samples", "parameters": {"additionalProperties": false, "properties": {"renames": {"default": ["A=Alice"], "description": "Unique old=new mappings; resulting names must remain unique.", "items": {"default": "", "description": "Existing=New sample name.", "type": "string"}, "maxItems": 1024, "type": "array"}}, "required": [], "type": "object"}, "params": {}, "scope": "Only sample names are changed; chromosome metadata and sample values remain intact. 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_reheader.xml", "repository": "https://github.com/galaxyproject/tools-iuc"}, "version": "1.0"}