Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Bioinformatics"], "description": "Convert called VCF SNP genotypes to pgSnp allele counts.", "documentation": {"example_job": "name: Convert called VCF SNP genotypes to pgSnp allele counts.\nsteps:\n- id: read\n  operator: read_item@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/vcf_to_pgsnp.txt\n    view: bytes\n- id: process\n  operator: galaxy_vcf_to_pgsnp@1.0\n  inputs:\n    source: read\n  params:\n    sample_column: 0\n    prefix_chr: true\noutputs:\n  result: process\n", "inputs": {"source": "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."}, "outputs": {"result": "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."}, "parameters": {"prefix_chr": {"description": "Add chr to sequence names without that prefix.", "example": true, "help": "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."}, "sample_column": {"description": "One-based VCF sample column, or zero for all samples.", "example": 0, "help": "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."}}}, "entrypoint": "xstream.galaxy.VcfToPgsnp", "fixture": {"data": "#header\n1\t10\t.\tA\tG\t50\tPASS\t.\tGT\t0/1\t1/1\n", "expected": "chr1\t9\t10\tA/G\t2\t1,3\t0,0\n", "params": {"prefix_chr": true, "sample_column": 0}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "name": "galaxy_vcf_to_pgsnp", "parameters": {"additionalProperties": false, "properties": {"prefix_chr": {"default": true, "description": "Add chr to sequence names without that prefix.", "type": "boolean"}, "sample_column": {"default": 0, "description": "One-based VCF sample column, or zero for all samples.", "maximum": 65536, "minimum": 0, "type": "integer"}}, "required": [], "type": "object"}, "params": {"prefix_chr": true, "sample_column": 0}, "scope": "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.", "upstream": {"path": "vcf2pgsnp/vcf2pgSnp.pl", "repository": "https://github.com/galaxyproject/tools-devteam"}, "version": "1.0"}