GET /rest/services/tfscope-v2/jobs/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "service": {
        "name": "TFScope 2",
        "slug": "tfscope-v2",
        "description": "TFscope 2 explains binding differences using discriminative motifs, positional nucleotide environments and co-factor motifs.",
        "enabled": true,
        "email_required": false,
        "version": "2.0.0rc3",
        "submit_job_url": "https://api.atgc-montpellier.fr/rest/services/tfscope-v2/jobs/",
        "runtime_estimation": {
            "supported": true,
            "official_limit_seconds": 1296000,
            "enabled": true,
            "url": "https://api.atgc-montpellier.fr/rest/services/tfscope-v2/estimate/",
            "features": {
                "peaks1": {
                    "source": "file",
                    "input": "bed_1",
                    "extractor": "text.record_count"
                },
                "peaks2": {
                    "source": "file",
                    "input": "bed_2",
                    "extractor": "text.record_count"
                },
                "motifs": {
                    "source": "file",
                    "input": "motifs",
                    "extractor": "motifs.matrix_count"
                },
                "genome": {
                    "source": "file",
                    "input": "genome",
                    "extractor": "file.size_bytes"
                },
                "bins": {
                    "source": "input",
                    "input": "bins",
                    "kind": "integer",
                    "inactive_value": 0
                },
                "window": {
                    "source": "input",
                    "input": "sequence_length",
                    "kind": "integer",
                    "inactive_value": 0
                },
                "method": {
                    "source": "input",
                    "input": "methods",
                    "kind": "choice",
                    "inactive_value": "inactive"
                }
            },
            "schema_version": "1",
            "file_inputs": [
                "bed_1",
                "bed_2",
                "motifs",
                "genome"
            ]
        },
        "categories": [
            {
                "name": "Input data",
                "rank": 100,
                "parent": null,
                "conditionnal_visibility": "true",
                "inputs": [
                    {
                        "name": "bed_1",
                        "input_type": "file",
                        "required": true,
                        "default_value": null,
                        "extensions": ".bed",
                        "max_size": 5000
                    },
                    {
                        "name": "bed_2",
                        "input_type": "file",
                        "required": true,
                        "default_value": null,
                        "extensions": ".bed",
                        "max_size": 5000
                    },
                    {
                        "name": "genome",
                        "input_type": "file",
                        "required": true,
                        "default_value": null,
                        "extensions": ".fa,.fasta,.fna",
                        "max_size": 20000
                    },
                    {
                        "name": "motifs",
                        "input_type": "file",
                        "required": true,
                        "default_value": null,
                        "extensions": ".meme,.txt",
                        "max_size": 2000
                    }
                ]
            },
            {
                "name": "Analysis",
                "rank": 200,
                "parent": null,
                "conditionnal_visibility": "true",
                "inputs": [
                    {
                        "name": "bins",
                        "input_type": "int",
                        "required": true,
                        "default_value": 10,
                        "minimum": 1,
                        "maximum": 1000
                    },
                    {
                        "name": "summit_window",
                        "input_type": "int",
                        "required": true,
                        "default_value": 100,
                        "minimum": 0,
                        "maximum": 100000
                    },
                    {
                        "name": "sequence_length",
                        "input_type": "int",
                        "required": true,
                        "default_value": 1000,
                        "minimum": 10,
                        "maximum": 100000
                    },
                    {
                        "name": "motif_flank",
                        "input_type": "int",
                        "required": true,
                        "default_value": 0,
                        "minimum": 0,
                        "maximum": 100000
                    },
                    {
                        "name": "fimo_pvalue",
                        "input_type": "float",
                        "required": true,
                        "default_value": 0.001,
                        "minimum": 1e-12,
                        "maximum": 1.0
                    },
                    {
                        "name": "downsampling",
                        "input_type": "bool",
                        "required": false,
                        "default_value": false
                    },
                    {
                        "name": "keep_all_observations",
                        "input_type": "bool",
                        "required": false,
                        "default_value": false
                    },
                    {
                        "name": "comparison",
                        "input_type": "choice",
                        "required": true,
                        "default_value": "unique-vs-unique",
                        "choices": {
                            "unique-vs-unique": "First-only vs second-only",
                            "intersection-vs-first": "Intersection vs first",
                            "intersection-vs-second": "Intersection vs second"
                        }
                    },
                    {
                        "name": "methods",
                        "input_type": "choice",
                        "required": true,
                        "default_value": "auto",
                        "choices": {
                            "cf": "CF only",
                            "dm": "DM only",
                            "ne": "NE only",
                            "auto": "Automatic (DM, NE and CF when a target motif is set; otherwise NE and CF)",
                            "dm,cf": "DM and CF",
                            "dm,ne": "DM and NE",
                            "ne,cf": "NE and CF",
                            "dm,ne,cf": "DM, NE and CF"
                        }
                    },
                    {
                        "name": "target_motif",
                        "input_type": "text",
                        "required": false,
                        "default_value": "",
                        "max_length": 120
                    }
                ]
            },
            {
                "name": "Downsampling settings",
                "rank": 286,
                "parent": 3354485,
                "conditionnal_visibility": "Downsampling == true",
                "inputs": [
                    {
                        "name": "downsampling_size_k",
                        "input_type": "int",
                        "required": false,
                        "default_value": 30,
                        "minimum": 1,
                        "maximum": 50
                    }
                ]
            },
            {
                "name": "Reproducibility and output",
                "rank": 300,
                "parent": null,
                "conditionnal_visibility": "true",
                "inputs": [
                    {
                        "name": "seed",
                        "input_type": "int",
                        "required": true,
                        "default_value": 0,
                        "minimum": 0,
                        "maximum": 2147483647
                    },
                    {
                        "name": "keep_temporary",
                        "input_type": "bool",
                        "required": false,
                        "default_value": false
                    },
                    {
                        "name": "plot_format",
                        "input_type": "choice",
                        "required": true,
                        "default_value": "pdf",
                        "choices": {
                            "pdf": "PDF",
                            "png": "PNG",
                            "svg": "SVG"
                        }
                    },
                    {
                        "name": "log_level",
                        "input_type": "choice",
                        "required": true,
                        "default_value": "normal",
                        "choices": {
                            "debug": "Debug",
                            "quiet": "Quiet",
                            "normal": "Normal",
                            "verbose": "Verbose"
                        }
                    }
                ]
            }
        ]
    }
}
Input data
Drag and drop a file or click to browse.
No file selected
BED file for the first ChIP-seq peak set. Comparison populations are selected using both complete BED files. Enable Downsampling to limit the size of each selected population.
Drag and drop a file or click to browse.
No file selected
BED file for the second ChIP-seq peak set. Comparison populations are selected using both complete BED files. Enable Downsampling to limit the size of each selected population.
Drag and drop a file or click to browse.
No file selected
Genome sequence in FASTA format.
Drag and drop a file or click to browse.
No file selected
Motif collection in MEME format.
Analysis
Target motif identifier. Required when the DM method is selected.
Peak populations to compare.
TFscope methods to execute.
Common number of positional bins used by NE and CF.
Base pairs added around peak summits when selecting motif occurrences.
Length in base pairs of sequences analysed around each peak.
Base pairs retained upstream and downstream of the target motif for DM.
P-value threshold used by FIMO when scanning motifs.
Recommended when a selected comparison population exceeds 30,000 peaks to reduce computation time. Randomly retains at most the requested number of peaks per population after selecting specific or shared peaks, using Random seed. Disabled by default; enabling it may affect the results.
Downsampling settings
Maximum peaks per selected comparison population, in thousands (k). Enter 1 to 50; for example, 10 means 10,000 peaks. Default is 30k.
Disable balancing of the two classes by retaining all selected observations, after the optional Downsampling step.
Reproducibility and output
Random seed used for reproducible peak downsampling, population splitting and modelling.
Format for publication figures.
Amount of detail written to the execution log.
Preserve intermediate files for diagnosis.