resources/META-INF/galaxy-operator.json
1{"categories": ["Galaxy", "Bioinformatics"], "description": "Compute scaffold, contig and base-composition summary statistics from FASTA.", "documentation": {"example_job": "name: Compute scaffold, contig and base-composition summary statistics from FASTA.\nsteps:\n- id: read\n operator: read_item@1.0\n inputs: {}\n params:\n uri: context:/galaxy/extended/fasta_stats.txt\n view: bytes\n- id: process\n operator: galaxy_fasta_stats@1.0\n inputs:\n source: read\n params:\n genome_size: 0\noutputs:\n result: process\n", "inputs": {"source": "UTF-8 bytes stream. Statistics TSV output only, no separate gap BED. N-runs split contigs; internal N-runs count as gaps. Uses standard N50 threshold >= half, correcting upstream strict-greater edge. At most 100000 sequences/contigs and one 8 MiB-character record."}, "outputs": {"result": "Compute scaffold, contig and base-composition summary statistics from FASTA. Statistics TSV output only, no separate gap BED. N-runs split contigs; internal N-runs count as gaps. Uses standard N50 threshold >= half, correcting upstream strict-greater edge. At most 100000 sequences/contigs and one 8 MiB-character record."}, "parameters": {"genome_size": {"description": "Estimated genome size for NG50, or zero to omit NG50.", "example": 0, "help": "Estimated genome size for NG50, or zero to omit NG50. Statistics TSV output only, no separate gap BED. N-runs split contigs; internal N-runs count as gaps. Uses standard N50 threshold >= half, correcting upstream strict-greater edge. At most 100000 sequences/contigs and one 8 MiB-character record."}}}, "entrypoint": "xstream.galaxy.FastaStats", "fixture": {"data": ">a\nACGTNNAA\n>b\nGG\n", "expected": "Scaffold L50\t1\nScaffold N50\t8\nScaffold L90\t2\nScaffold N90\t2\nScaffold len_max\t8\nScaffold len_min\t2\nScaffold len_mean\t5\nScaffold len_median\t5\nScaffold len_std\t3\nScaffold num_A\t3\nScaffold num_T\t1\nScaffold num_C\t1\nScaffold num_G\t3\nScaffold num_N\t2\nScaffold num_bp\t10\nScaffold num_bp_not_N\t8\nScaffold num_seq\t2\nScaffold GC content overall\t40.00\nContig L50\t1\nContig N50\t4\nContig L90\t3\nContig N90\t2\nContig len_max\t4\nContig len_min\t2\nContig len_mean\t2\nContig len_median\t2\nContig len_std\t0\nContig num_bp\t8\nContig num_seq\t3\nNumber of gaps\t1\n", "params": {"genome_size": 0}}, "icon": {"color": "#5265ad", "path": "M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"}, "name": "galaxy_fasta_stats", "parameters": {"additionalProperties": false, "properties": {"genome_size": {"default": 0, "description": "Estimated genome size for NG50, or zero to omit NG50.", "maximum": 1000000000, "minimum": 0, "type": "integer"}}, "required": [], "type": "object"}, "params": {"genome_size": 0}, "scope": "Statistics TSV output only, no separate gap BED. N-runs split contigs; internal N-runs count as gaps. Uses standard N50 threshold >= half, correcting upstream strict-greater edge. At most 100000 sequences/contigs and one 8 MiB-character record.", "upstream": {"path": "fasta_stats/fasta-stats.py", "repository": "https://github.com/galaxyproject/tools-iuc"}, "version": "1.0"}