Source code

Download source archive ↓

resources/META-INF/galaxy-operator.json

1{"categories": ["Galaxy", "Genomics", "Intervals"], "description": "Emit left and right flanking intervals around each BED feature.", "documentation": {"example_job": "name: Emit left and right flanking intervals around each BED feature.\nsteps:\n- id: read\n  operator: read_item@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/extended/bed_flank.txt\n    view: bytes\n- id: process\n  operator: galaxy_bed_flank@1.0\n  inputs:\n    source: read\n  params: {}\noutputs:\n  result: process\n", "inputs": {"source": "UTF-8 bytes stream. Left flank then right flank; zero-length flanks omitted. Integer distances, optional strand awareness, explicit chromosome lengths. BED input is zero-based half-open with positive interval length. Comments are skipped; invalid records fail."}, "outputs": {"result": "Emit left and right flanking intervals around each BED feature. Left flank then right flank; zero-length flanks omitted. Integer distances, optional strand awareness, explicit chromosome lengths. BED input is zero-based half-open with positive interval length. Comments are skipped; invalid records fail."}, "parameters": {"chromosomes": {"description": "Ordered chromosome lengths as name=length; unique names required.", "example": ["chr1=100"], "help": "Ordered chromosome lengths as name=length; unique names required. Left flank then right flank; zero-length flanks omitted. Integer distances, optional strand awareness, explicit chromosome lengths. BED input is zero-based half-open with positive interval length. Comments are skipped; invalid records fail."}, "left": {"description": "Number of bases upstream/left.", "example": 2, "help": "Number of bases upstream/left. Left flank then right flank; zero-length flanks omitted. Integer distances, optional strand awareness, explicit chromosome lengths. BED input is zero-based half-open with positive interval length. Comments are skipped; invalid records fail."}, "right": {"description": "Number of bases downstream/right.", "example": 3, "help": "Number of bases downstream/right. Left flank then right flank; zero-length flanks omitted. Integer distances, optional strand awareness, explicit chromosome lengths. BED input is zero-based half-open with positive interval length. Comments are skipped; invalid records fail."}, "stranded": {"description": "Swap left and right distances on minus-strand BED6 records.", "example": false, "help": "Swap left and right distances on minus-strand BED6 records. Left flank then right flank; zero-length flanks omitted. Integer distances, optional strand awareness, explicit chromosome lengths. BED input is zero-based half-open with positive interval length. Comments are skipped; invalid records fail."}}}, "entrypoint": "xstream.galaxy.BedFlank", "fixture": {"data": "chr1\t1\t4\n", "expected": "chr1\t0\t1\nchr1\t4\t7\n", "params": {}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "implementation": "IntervalOperators", "name": "galaxy_bed_flank", "parameters": {"additionalProperties": false, "properties": {"chromosomes": {"default": ["chr1=100"], "description": "Ordered chromosome lengths as name=length; unique names required.", "items": {"default": "", "description": "Chromosome name followed by =positive_length.", "type": "string"}, "maxItems": 128, "type": "array"}, "left": {"default": 2, "description": "Number of bases upstream/left.", "maximum": 1000000, "minimum": 0, "type": "integer"}, "right": {"default": 3, "description": "Number of bases downstream/right.", "maximum": 1000000, "minimum": 0, "type": "integer"}, "stranded": {"default": false, "description": "Swap left and right distances on minus-strand BED6 records.", "type": "boolean"}}, "required": [], "type": "object"}, "params": {}, "scope": "Left flank then right flank; zero-length flanks omitted. Integer distances, optional strand awareness, explicit chromosome lengths. BED input is zero-based half-open with positive interval length. Comments are skipped; invalid records fail.", "upstream": {"path": "tools/bedtools/flankBed.xml", "repository": "https://github.com/galaxyproject/tools-iuc"}, "version": "1.0"}