@prefix LoadListingRequirement: <http://commonwl.org/cwltool#LoadListingRequirement/> .
@prefix CommandLineBinding: <https://w3id.org/cwl/cwl#CommandLineBinding/> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix DockerRequirement: <https://w3id.org/cwl/cwl#DockerRequirement/> .
@prefix Workflow: <https://w3id.org/cwl/cwl#Workflow/> .
@prefix InlineJavascriptRequirement: <https://w3id.org/cwl/cwl#InlineJavascriptRequirement/> .
@prefix sld:   <https://w3id.org/cwl/salad#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix CommandOutputBinding: <https://w3id.org/cwl/cwl#CommandOutputBinding/> .
@prefix ns2:   <http://commonwl.org/cwltool#> .
@prefix ns1:   <http://schema.org/> .
@prefix NetworkAccess: <http://commonwl.org/cwltool#NetworkAccess/> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix cwl:   <https://w3id.org/cwl/cwl#> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#chrom_length_file>
        rdfs:comment      "Chromosome length files\n" ;
        cwl:inputBinding  [ CommandLineBinding:position
                          21 ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#extra_index>
        rdfs:comment      "Makes an index on each field in a comma separated list extraIndex=name and extraIndex=name,id are commonly used\n" ;
        cwl:inputBinding  [ CommandLineBinding:position  11 ;
                            CommandLineBinding:prefix    "-extraIndex=" ;
                            CommandLineBinding:separate  false
                          ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/metadata/rose-metadata.yaml>
        a          ns1:SoftwareSourceCode ;
        ns1:about  "RANK ORDERING OF SUPER-ENHANCERS\n" ;
        ns1:name   "ROSE" .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/linux-sort.cwl#sorted_file>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "$(get_output_filename())" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#super_enhancers_table>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*SuperEnhancers.table.txt" ] ;
        sld:type           cwl:File , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#make_gff/islands_file>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#islands_file> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#unc>
        rdfs:comment      "If set, do not use compression\n" ;
        cwl:inputBinding  [ CommandLineBinding:position  9 ;
                            CommandLineBinding:prefix    "-unc"
                          ] ;
        sld:type          xsd:boolean , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#assign_genes/annotation_filename>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#annotation_file> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#block_size>
        rdfs:comment      "Number of items to bundle in r-tree.  Default 256\n" ;
        cwl:inputBinding  [ CommandLineBinding:position  7 ;
                            CommandLineBinding:prefix    "-blockSize=" ;
                            CommandLineBinding:separate  false
                          ] ;
        sld:type          xsd:int , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/binding_sites_file>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#make_gff/gff_file> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#chrom_length_file>
        rdfs:comment  "Chromosome length file" ;
        rdfs:label    "Chromosome length file" ;
        cwl:format    <http://edamontology.org/format_2330> ;
        sld:type      cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#result_file>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "${\n  if (inputs.output_filename == \"\"){\n    return default_output_filename('_iaintersect.tsv');\n  } else {\n    return inputs.output_filename;\n  }\n}\n" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#binding_sites_file>
        rdfs:comment      "GFF or BED file of binding sites used to make enhancers" ;
        cwl:inputBinding  [ CommandLineBinding:position  5 ;
                            CommandLineBinding:prefix    "-i"
                          ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#tss_distance>
        rdfs:comment  "Distance from TSS to exclude, 0 = no TSS exclusion" ;
        rdfs:label    "TSS distance" ;
        sld:type      xsd:int .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/makegff.cwl>
        a                        cwl:CommandLineTool ;
        rdfs:comment             "Tool produces GFF output from the file generated by iaintersect.cwl or macs2-callpeak-biowardrobe-only.cwl tool\nBoth islands_file and islands_control_file should be produced by the same tool\n" ;
        ns2:original_cwlVersion  "v1.0" ;
        ns1:about                "Tool produces GFF output from the file generated by iaintersect.cwl or macs2-callpeak-biowardrobe-only.cwl tool\n" ;
        ns1:codeRepository       "https://github.com/Barski-lab/workflows" ;
        ns1:creator              [ a               ns1:Organization ;
                                   ns1:department  [ a               ns1:Organization ;
                                                     ns1:department  [ a              ns1:Organization ;
                                                                       ns1:legalName  "Barski Research Lab" ;
                                                                       ns1:member     [ a           ns1:Person ;
                                                                                        ns1:email   "mailto:misha.kotliar@gmail.com" ;
                                                                                        ns1:name    "Michael Kotliar" ;
                                                                                        ns1:sameAs  <http://orcid.org/0000-0002-6486-3898>
                                                                                      ]
                                                                     ] ;
                                                     ns1:legalName   "Allergy and Immunology"
                                                   ] ;
                                   ns1:legalName   "Cincinnati Children's Hospital Medical Center" ;
                                   ns1:location    [ a                    ns1:PostalAddress ;
                                                     ns1:addressCountry   "USA" ;
                                                     ns1:addressLocality  "Cincinnati" ;
                                                     ns1:addressRegion    "OH" ;
                                                     ns1:postalCode       "45229" ;
                                                     ns1:streetAddress    "3333 Burnet Ave" ;
                                                     ns1:telephone        "+1(513)636-4200"
                                                   ] ;
                                   ns1:logo        "https://www.cincinnatichildrens.org/-/media/cincinnati%20childrens/global%20shared/childrens-logo-new.png"
                                 ] ;
        ns1:downloadUrl          "https://raw.githubusercontent.com/Barski-lab/workflows/master/tools/makegff.cwl" ;
        ns1:isPartOf             [ a         ns1:CreativeWork ;
                                   ns1:name  "Common Workflow Language" ;
                                   ns1:url   "http://commonwl.org/"
                                 ] ;
        ns1:license              "http://www.apache.org/licenses/LICENSE-2.0" ;
        ns1:mainEntity           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/metadata/makegff-metadata.yaml> ;
        ns1:name                 "makegff" ;
        cwl:baseCommand          ( "makegff" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/v1.2> ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "biowardrobe2/rose:v0.0.2"
                                 ] ;
        cwl:hints                [ a                            <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/NetworkAccess> ;
                                   NetworkAccess:networkAccess  true
                                 ] ;
        cwl:hints                [ a       <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/LoadListingRequirement> ;
                                   LoadListingRequirement:loadListing
                                           "deep_listing"
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/makegff.cwl#output_filename> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/makegff.cwl#islands_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/makegff.cwl#islands_control_file> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/makegff.cwl#gff_file> ;
        cwl:requirements         [ a       cwl:InlineJavascriptRequirement ;
                                   InlineJavascriptRequirement:expressionLib
                                           "var default_output_filename = function() { if (inputs.output_filename == \"\"){ var ext = \".gff\"; var root = inputs.islands_file.basename.split('.').slice(0,-1).join('.'); return (root == \"\")?inputs.islands_file.basename+ext:root+ext; } else { return inputs.output_filename; } };"
                                 ] .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/makegff.cwl#gff_file>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "$(default_output_filename())" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_macs/script>
        cwl:default  "cat $0 | grep -v \"#\" | awk 'BEGIN {print \"chr\\tstart\\tend\\tlength\\tabs_summit\\tpileup\\t-log10(pvalue)\\tfold_enrichment\\t-log10(qvalue)\\tname\"} {print $1\"\\t\"$2\"\\t\"$3\"\\t\"$3-$2+1\"\\t0\\t0\\t0\\t0\\t0\\t\"$4}' > `basename $0`\n" .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/makegff.cwl#output_filename>
        cwl:default       "" ;
        cwl:inputBinding  [ CommandLineBinding:position  6 ;
                            cwl:valueFrom                "$(default_output_filename())"
                          ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#promoter_bp>
        rdfs:comment      "Promoter region around TSS, base pairs\n" ;
        cwl:inputBinding  [ CommandLineBinding:position  5 ;
                            CommandLineBinding:prefix    "--promoter=" ;
                            CommandLineBinding:separate  false
                          ] ;
        sld:type          xsd:int , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_bigbed/chrom_length_file>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#chrom_length_file> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#islands_control_file>
        rdfs:comment  "XLS file to include information about peaks returned by iaintersect.cwl or macs2-callpeak-biowardrobe-only.cwl for control" ;
        rdfs:label    "XLS called peaks file (control)" ;
        cwl:format    <http://edamontology.org/format_3468> ;
        sld:type      cwl:File , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#add_island_names>
        cwl:in   <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#add_island_names/input_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#add_island_names/param> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#add_island_names/script> ;
        cwl:out  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#add_island_names/output_file> ;
        cwl:run  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/custom-bash.cwl> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#assign_genes/input_filename>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_macs/output_file> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/bam_file>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bambai_pair> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#add_island_names/script>
        cwl:default  "echo -e \"refseq_id\\tgene_id\\ttxStart\\ttxEnd\\tstrand\\tchrom\\tstart\\tend\\tlength\\tregion\\tname\\tscore\" > `basename $2`;\ncat $0 | grep -v refseq_id | paste - $1 | cut -f 1-9,15,19,20 >> `basename $2`\n" .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#assign_genes/promoter_bp>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#promoter_bp> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#sort_bed/unsorted_file>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/gateway_super_enhancers_bed> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/linux-sort.cwl#output_filename>
        rdfs:comment  "Name for generated output file\n" ;
        sld:type      xsd:string , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#input_filename>
        rdfs:comment      "Input filename with MACS2 peak calling results, tsv" ;
        cwl:inputBinding  [ CommandLineBinding:position  1 ;
                            CommandLineBinding:prefix    "--in=" ;
                            CommandLineBinding:separate  false
                          ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rename.cwl#source_file>
        cwl:inputBinding  [ CommandLineBinding:position
                          5 ] ;
        sld:type          cwl:File , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/makegff.cwl#islands_control_file>
        rdfs:comment      "Control tab-delimited file (output from iaintersect.cwl or macs2-callpeak-biowardrobe-only.cwl tool)\n" ;
        cwl:inputBinding  [ CommandLineBinding:position
                          7 ] ;
        sld:type          cwl:File , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#size_2bit>
        rdfs:comment      "If set, the chrom.sizes file is assumed to be a 2bit file\n" ;
        cwl:inputBinding  [ CommandLineBinding:position  12 ;
                            CommandLineBinding:prefix    "-sizesIs2Bit=" ;
                            CommandLineBinding:separate  false
                          ] ;
        sld:type          xsd:boolean , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#rename_png>
        cwl:in   <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#rename_png/source_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#rename_png/target_filename> ;
        cwl:out  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#rename_png/target_file> ;
        cwl:run  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rename.cwl> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#gateway_enhancers_bed>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*Gateway_Enhancers.bed" ] ;
        sld:type           cwl:File , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/metadata/ucsc-metadata.yaml>
        a                        ns1:SoftwareSourceCode ;
        ns1:about                "UCSC genome browser bioinformatic utilities\n" ;
        ns1:license              "https://opensource.org/licenses/GPL-3.0" ;
        ns1:name                 "UCSC userApps" ;
        ns1:programmingLanguage  "C++" ;
        ns1:targetProduct        [ a                        ns1:SoftwareApplication ;
                                   ns1:applicationCategory  "commandline tool" ;
                                   ns1:downloadURL          "http://hgdownload.cse.ucsc.edu/admin/exe/userApps.v358.src.tgz" ;
                                   ns1:softwareVersion      "v358"
                                 ] ;
        ns1:url                  "https://genome.ucsc.edu/util.html" .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/stitch_distance>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#stitch_distance> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#promoter_bp>
        rdfs:comment  "Promoter distance for gene names assignment" ;
        rdfs:label    "Promoter distance" ;
        sld:type      xsd:int .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/metadata/makegff-metadata.yaml>
        a          ns1:SoftwareSourceCode ;
        ns1:about  "makegff R script\n" ;
        ns1:name   "makegff" .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_macs/input_file>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#sort_bed/sorted_file> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#log_file>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "${\n  if (inputs.log_filename == \"\"){\n    return default_output_filename('_iaintersect.log');\n  } else {\n    return inputs.log_filename;\n  }\n}\n" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/custom-bash.cwl#script>
        cwl:default       "cat \"$0\" | grep \"$1\" | sed \"s/$1//g\"  > `basename $0`\n" ;
        cwl:inputBinding  [ CommandLineBinding:position
                          1 ] ;
        cwl:inputBinding  [ CommandLineBinding:position
                          1 ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_bigbed>
        cwl:in   <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_bigbed/bed_type> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_bigbed/input_bed> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_bigbed/output_filename> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_bigbed/chrom_length_file> ;
        cwl:out  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_bigbed/bigbed_file> ;
        cwl:run  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/custom-bash.cwl>
        a                        cwl:CommandLineTool ;
        rdfs:comment             "Tool to run custom script set as `script` input with arguments from `param`.\nDefault script runs sed command over the input file and exports results to the file with the same name as input's basename\n" ;
        ns2:original_cwlVersion  "v1.2" ;
        ns1:about                "Custom bash script runner" ;
        ns1:codeRepository       "https://github.com/Barski-lab/workflows" ;
        ns1:creator              [ a               ns1:Organization ;
                                   ns1:department  [ a               ns1:Organization ;
                                                     ns1:department  [ a              ns1:Organization ;
                                                                       ns1:legalName  "Barski Research Lab" ;
                                                                       ns1:member     [ a           ns1:Person ;
                                                                                        ns1:email   "mailto:michael.kotliar@cchmc.org" ;
                                                                                        ns1:name    "Michael Kotliar" ;
                                                                                        ns1:sameAs  <http://orcid.org/0000-0002-6486-3898>
                                                                                      ]
                                                                     ] ;
                                                     ns1:legalName   "Allergy and Immunology"
                                                   ] ;
                                   ns1:legalName   "Cincinnati Children's Hospital Medical Center" ;
                                   ns1:location    [ a                    ns1:PostalAddress ;
                                                     ns1:addressCountry   "USA" ;
                                                     ns1:addressLocality  "Cincinnati" ;
                                                     ns1:addressRegion    "OH" ;
                                                     ns1:postalCode       "45229" ;
                                                     ns1:streetAddress    "3333 Burnet Ave" ;
                                                     ns1:telephone        "+1(513)636-4200"
                                                   ] ;
                                   ns1:logo        "https://www.cincinnatichildrens.org/-/media/cincinnati%20childrens/global%20shared/childrens-logo-new.png"
                                 ] ;
        ns1:creator              [ a               ns1:Organization ;
                                   ns1:department  [ a               ns1:Organization ;
                                                     ns1:department  [ a              ns1:Organization ;
                                                                       ns1:legalName  "Barski Research Lab" ;
                                                                       ns1:member     [ a           ns1:Person ;
                                                                                        ns1:email   "mailto:michael.kotliar@cchmc.org" ;
                                                                                        ns1:name    "Michael Kotliar" ;
                                                                                        ns1:sameAs  <http://orcid.org/0000-0002-6486-3898>
                                                                                      ]
                                                                     ] ;
                                                     ns1:legalName   "Allergy and Immunology"
                                                   ] ;
                                   ns1:legalName   "Cincinnati Children's Hospital Medical Center" ;
                                   ns1:location    [ a                    ns1:PostalAddress ;
                                                     ns1:addressCountry   "USA" ;
                                                     ns1:addressLocality  "Cincinnati" ;
                                                     ns1:addressRegion    "OH" ;
                                                     ns1:postalCode       "45229" ;
                                                     ns1:streetAddress    "3333 Burnet Ave" ;
                                                     ns1:telephone        "+1(513)636-4200"
                                                   ] ;
                                   ns1:logo        "https://www.cincinnatichildrens.org/-/media/cincinnati%20childrens/global%20shared/childrens-logo-new.png"
                                 ] ;
        ns1:downloadUrl          "https://raw.githubusercontent.com/Barski-lab/workflows/master/tools/custom-bash.cwl" ;
        ns1:isPartOf             [ a         ns1:CreativeWork ;
                                   ns1:name  "Common Workflow Language" ;
                                   ns1:url   "http://commonwl.org/"
                                 ] ;
        ns1:isPartOf             [ a         ns1:CreativeWork ;
                                   ns1:name  "Common Workflow Language" ;
                                   ns1:url   "http://commonwl.org/"
                                 ] ;
        ns1:license              "http://www.apache.org/licenses/LICENSE-2.0" ;
        ns1:name                 "custom-bash" ;
        cwl:baseCommand          ( "bash" "-c" ) ;
        cwl:baseCommand          ( "bash" "-c" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/v1.2> ;
        cwl:hints                [ a       <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/LoadListingRequirement> ;
                                   LoadListingRequirement:loadListing
                                           "deep_listing"
                                 ] ;
        cwl:hints                [ a                            <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/NetworkAccess> ;
                                   NetworkAccess:networkAccess  true
                                 ] ;
        cwl:hints                [ a                            <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/NetworkAccess> ;
                                   NetworkAccess:networkAccess  true
                                 ] ;
        cwl:hints                [ a       <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/LoadListingRequirement> ;
                                   LoadListingRequirement:loadListing
                                           "deep_listing"
                                 ] ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "biowardrobe2/scidap:v0.0.3"
                                 ] ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "biowardrobe2/scidap:v0.0.3"
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/custom-bash.cwl#script> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/custom-bash.cwl#input_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/custom-bash.cwl#param> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/custom-bash.cwl#output_file> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#tab_sep>
        rdfs:comment      "If set, expect fields to be tab separated, normally expects white space separator\n" ;
        cwl:inputBinding  [ CommandLineBinding:position  10 ;
                            CommandLineBinding:prefix    "-tab"
                          ] ;
        sld:type          xsd:boolean , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#plot_points_pic>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*Plot_points.png" ] ;
        sld:type           cwl:File , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#annotation_file>
        rdfs:comment  "Tab-separated input annotation file" ;
        rdfs:label    "Annotation file" ;
        cwl:format    <http://edamontology.org/format_3475> ;
        sld:type      cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#all_enhancers_table>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*AllEnhancers.table.txt" ] ;
        sld:type           cwl:File , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#annotation_file>
        rdfs:comment      "TSV genome annotation file" ;
        cwl:inputBinding  [ CommandLineBinding:position  7 ;
                            CommandLineBinding:prefix    "-g"
                          ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#gateway_super_enhancers_bed>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*Gateway_SuperEnhancers.bed" ] ;
        sld:type           cwl:File , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#mapped_gff_directory>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "mappedGFF" ] ;
        sld:type           cwl:Directory .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#sort_bed>
        cwl:in   <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#sort_bed/key> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#sort_bed/unsorted_file> ;
        cwl:out  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#sort_bed/sorted_file> ;
        cwl:run  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/linux-sort.cwl> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/linux-sort.cwl>
        a                        cwl:CommandLineTool ;
        rdfs:comment             "Tool sorts data from `unsorted_file` by key\n\n`default_output_filename` function returns file name identical to `unsorted_file`, if `output_filename` is not provided.\n" ;
        ns2:original_cwlVersion  "v1.0" ;
        ns1:codeRepository       "https://github.com/Barski-lab/workflows" ;
        ns1:creator              [ a               ns1:Organization ;
                                   ns1:department  [ a               ns1:Organization ;
                                                     ns1:department  [ a              ns1:Organization ;
                                                                       ns1:legalName  "Barski Research Lab" ;
                                                                       ns1:member     [ a           ns1:Person ;
                                                                                        ns1:email   "mailto:misha.kotliar@gmail.com" ;
                                                                                        ns1:name    "Michael Kotliar" ;
                                                                                        ns1:sameAs  <http://orcid.org/0000-0002-6486-3898>
                                                                                      ] ;
                                                                       ns1:member     [ a           ns1:Person ;
                                                                                        ns1:email   "mailto:Andrey.Kartashov@cchmc.org" ;
                                                                                        ns1:name    "Andrey Kartashov" ;
                                                                                        ns1:sameAs  <http://orcid.org/0000-0001-9102-5681>
                                                                                      ]
                                                                     ] ;
                                                     ns1:legalName   "Allergy and Immunology"
                                                   ] ;
                                   ns1:legalName   "Cincinnati Children's Hospital Medical Center" ;
                                   ns1:location    [ a                    ns1:PostalAddress ;
                                                     ns1:addressCountry   "USA" ;
                                                     ns1:addressLocality  "Cincinnati" ;
                                                     ns1:addressRegion    "OH" ;
                                                     ns1:postalCode       "45229" ;
                                                     ns1:streetAddress    "3333 Burnet Ave" ;
                                                     ns1:telephone        "+1(513)636-4200"
                                                   ] ;
                                   ns1:logo        "https://www.cincinnatichildrens.org/-/media/cincinnati%20childrens/global%20shared/childrens-logo-new.png"
                                 ] ;
        ns1:downloadUrl          "https://raw.githubusercontent.com/Barski-lab/workflows/master/tools/linux-sort.cwl" ;
        ns1:isPartOf             [ a         ns1:CreativeWork ;
                                   ns1:name  "Common Workflow Language" ;
                                   ns1:url   "http://commonwl.org/"
                                 ] ;
        ns1:license              "http://www.apache.org/licenses/LICENSE-2.0" ;
        ns1:name                 "linux-sort" ;
        cwl:baseCommand          ( "sort" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/v1.2> ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "biowardrobe2/scidap:v0.0.2"
                                 ] ;
        cwl:hints                [ a       <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/LoadListingRequirement> ;
                                   LoadListingRequirement:loadListing
                                           "deep_listing"
                                 ] ;
        cwl:hints                [ a                            <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/NetworkAccess> ;
                                   NetworkAccess:networkAccess  true
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/linux-sort.cwl#unsorted_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/linux-sort.cwl#key> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/linux-sort.cwl#output_filename> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/linux-sort.cwl#sorted_file> ;
        cwl:requirements         [ a       cwl:InlineJavascriptRequirement ;
                                   InlineJavascriptRequirement:expressionLib
                                           "var get_output_filename = function() { if (inputs.output_filename) { return inputs.output_filename; } return inputs.unsorted_file.location.split('/').slice(-1)[0]; };"
                                 ] ;
        cwl:stdout               "$(get_output_filename())" .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#gene_names_file>
        rdfs:comment      "Gateway Super Enhancer results from ROSE with assigned gene names" ;
        rdfs:label        "Gateway Super Enhancer results from ROSE with gene names" ;
        cwl:format        <http://edamontology.org/format_3475> ;
        cwl:outputSource  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#add_island_names/output_file> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#output_filename>
        rdfs:comment      "Base output file name, tsv\n" ;
        cwl:default       "" ;
        cwl:inputBinding  [ CommandLineBinding:position  3 ;
                            CommandLineBinding:prefix    "--out=" ;
                            CommandLineBinding:separate  false ;
                            cwl:valueFrom                "${\n    if (self == \"\"){\n      return default_output_filename('_iaintersect.tsv');\n    } else {\n      return self;\n    }\n}\n"
                          ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#add_island_names/input_file>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#assign_genes/result_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#sort_bed/sorted_file> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/custom-bash.cwl#output_file>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*" ] ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#annotation_filename>
        rdfs:comment      "Annotation file, tsv" ;
        cwl:inputBinding  [ CommandLineBinding:position  2 ;
                            CommandLineBinding:prefix    "--a=" ;
                            CommandLineBinding:separate  false
                          ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#make_gff>
        cwl:in   <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#make_gff/islands_control_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#make_gff/islands_file> ;
        cwl:out  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#make_gff/gff_file> ;
        cwl:run  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/makegff.cwl> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/makegff.cwl#islands_file>
        rdfs:comment      "Input tab-delimited file (output from iaintersect.cwl or macs2-callpeak-biowardrobe-only.cwl tool)\n" ;
        cwl:inputBinding  [ CommandLineBinding:position
                          5 ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#png_file>
        rdfs:comment      "Generated by ROSE visualization plot" ;
        rdfs:label        "ROSE visualization plot" ;
        cwl:format        <http://edamontology.org/format_3603> ;
        cwl:outputSource  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#rename_png/target_file> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rename.cwl#script>
        cwl:default       "#!/bin/bash\nif [ -f $0 ]; then\n  cp $0 $1\n  if [ -f $0.bai ]; then\n    cp $0.bai $1.bai\n  fi\nfi\n" ;
        cwl:inputBinding  [ CommandLineBinding:position
                          1 ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_macs>
        cwl:in   <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_macs/input_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_macs/script> ;
        cwl:out  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_macs/output_file> ;
        cwl:run  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/custom-bash.cwl> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#stitch_distance>
        rdfs:comment  "Linking distance for stitching" ;
        rdfs:label    "Stitching distance" ;
        sld:type      xsd:int .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#stitch_distance>
        rdfs:comment      "Linking distance for stitching" ;
        cwl:inputBinding  [ CommandLineBinding:position  8 ;
                            CommandLineBinding:prefix    "-s"
                          ] ;
        sld:type          xsd:int .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rename.cwl#target_file>
        cwl:outputBinding   [ CommandOutputBinding:glob
                          "$(get_target_name())" ] ;
        cwl:secondaryFiles  []  ;
        sld:type            cwl:File , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#tss_distance>
        rdfs:comment      "Distance from TSS to exclude. 0 = no TSS exclusion" ;
        cwl:inputBinding  [ CommandLineBinding:position  9 ;
                            CommandLineBinding:prefix    "-t"
                          ] ;
        sld:type          xsd:int .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#output_filename>
        rdfs:comment      "Output filename\n" ;
        cwl:default       "" ;
        cwl:inputBinding  [ CommandLineBinding:position  22 ;
                            cwl:valueFrom                "${\n    if (self == \"\"){\n      return default_output_filename();\n    } else {\n      return self;\n    }\n}\n"
                          ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_bigbed/input_bed>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#sort_bed/sorted_file> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#rename_png/source_file>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/plot_points_pic> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#items_per_slot>
        rdfs:comment      "Number of data points bundled at lowest level. Default 512\n" ;
        cwl:inputBinding  [ CommandLineBinding:position  8 ;
                            CommandLineBinding:prefix    "-itemsPerSlot=" ;
                            CommandLineBinding:separate  false
                          ] ;
        sld:type          xsd:int , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#ignore_chr>
        rdfs:comment      "The chromosome to be ignored, string\n" ;
        cwl:inputBinding  [ CommandLineBinding:position  7 ;
                            CommandLineBinding:prefix    "--sam_ignorechr=" ;
                            CommandLineBinding:separate  false
                          ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/linux-sort.cwl#key>
        rdfs:comment      "-k, --key=POS1[,POS2]\nstart a key at POS1, end it at POS2 (origin 1)\n" ;
        cwl:inputBinding  [ CommandLineBinding:position
                          1 ] ;
        sld:type          [ cwl:inputBinding  [ CommandLineBinding:prefix
                                              "-k" ] ;
                            sld:items         xsd:string ;
                            sld:type          sld:array
                          ] .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl>
        a                        cwl:CommandLineTool ;
        rdfs:comment             "Tool runs ROSE to get Super Enhancers regions\n-b and -c arguments are not supported\n" ;
        ns2:original_cwlVersion  "v1.0" ;
        ns1:about                "Updated version of the original ROSE\n" ;
        ns1:codeRepository       "https://github.com/Barski-lab/workflows" ;
        ns1:creator              [ a               ns1:Organization ;
                                   ns1:department  [ a               ns1:Organization ;
                                                     ns1:department  [ a              ns1:Organization ;
                                                                       ns1:legalName  "Barski Research Lab" ;
                                                                       ns1:member     [ a           ns1:Person ;
                                                                                        ns1:email   "mailto:misha.kotliar@gmail.com" ;
                                                                                        ns1:name    "Michael Kotliar" ;
                                                                                        ns1:sameAs  <http://orcid.org/0000-0002-6486-3898>
                                                                                      ]
                                                                     ] ;
                                                     ns1:legalName   "Allergy and Immunology"
                                                   ] ;
                                   ns1:legalName   "Cincinnati Children's Hospital Medical Center" ;
                                   ns1:location    [ a                    ns1:PostalAddress ;
                                                     ns1:addressCountry   "USA" ;
                                                     ns1:addressLocality  "Cincinnati" ;
                                                     ns1:addressRegion    "OH" ;
                                                     ns1:postalCode       "45229" ;
                                                     ns1:streetAddress    "3333 Burnet Ave" ;
                                                     ns1:telephone        "+1(513)636-4200"
                                                   ] ;
                                   ns1:logo        "https://www.cincinnatichildrens.org/-/media/cincinnati%20childrens/global%20shared/childrens-logo-new.png"
                                 ] ;
        ns1:downloadUrl          "https://raw.githubusercontent.com/Barski-lab/workflows/master/tools/rose.cwl" ;
        ns1:isPartOf             [ a         ns1:CreativeWork ;
                                   ns1:name  "Common Workflow Language" ;
                                   ns1:url   "http://commonwl.org/"
                                 ] ;
        ns1:license              "http://www.apache.org/licenses/LICENSE-2.0" ;
        ns1:mainEntity           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/metadata/rose-metadata.yaml> ;
        ns1:name                 "rose" ;
        cwl:baseCommand          ( "ROSE_main" "-o" "./" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/v1.2> ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "biowardrobe2/rose:v0.0.2"
                                 ] ;
        cwl:hints                [ a       <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/LoadListingRequirement> ;
                                   LoadListingRequirement:loadListing
                                           "deep_listing"
                                 ] ;
        cwl:hints                [ a                            <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/NetworkAccess> ;
                                   NetworkAccess:networkAccess  true
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#stitch_distance> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#annotation_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#binding_sites_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#tss_distance> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#bam_file> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#mapped_gff_directory> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#plot_points_pic> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#enhancers_with_super_bed> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#super_enhancers_table> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#gateway_super_enhancers_bed> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#gateway_enhancers_bed> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#stitched_enhancer_region_map> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#all_enhancers_table> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#gff_directory> ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_bigbed/bed_type>
        cwl:default  "bed6" .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#rename_png/target_filename>
        cwl:source     <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bambai_pair> ;
        cwl:valueFrom  "$(self.location.split('/').slice(-1)[0].split('.').slice(0,-1).join('.')+\"_super_enhancer.png\")" .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#bed_type>
        rdfs:comment      "Type of BED file in a form of bedN[+[P]]. By default bed3 to three required BED fields\n" ;
        cwl:default       "" ;
        cwl:inputBinding  [ CommandLineBinding:position  5 ;
                            CommandLineBinding:prefix    "-type=" ;
                            CommandLineBinding:separate  false ;
                            cwl:valueFrom                "${\n    if (self == \"\"){\n      return get_bed_type();\n    } else {\n      return self;\n    }\n}\n"
                          ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/metadata/iaintersect-metadata.yaml>
        a                        ns1:SoftwareSourceCode ;
        ns1:about                "Based on BioWardrobe iaintersect (https://github.com/cincinnati-childrens-hospital/biowardrobe/tree/master/src/iaintersect) The software assigns each peak obtained from MACS2 to a gene and region (upstream, promoter, exon, intron, intergenic).\n" ;
        ns1:codeRepository       "https://github.com/Barski-lab/iaintersect" ;
        ns1:creator              [ a           ns1:Organization ;
                                   ns1:member  [ a                ns1:Person ;
                                                 ns1:description  "Main author" ;
                                                 ns1:name         "Andrey Kartashov"
                                               ] ;
                                   ns1:member  [ a                ns1:Person ;
                                                 ns1:description  "Update to work with files instead of DB" ;
                                                 ns1:name         "Michael Kotliar"
                                               ] ;
                                   ns1:name    "Barski Research Lab"
                                 ] ;
        ns1:discussionUrl        "https://github.com/Barski-lab/iaintersect/issues" ;
        ns1:license              "https://opensource.org/licenses/MIT" ;
        ns1:name                 "iaintersect" ;
        ns1:programmingLanguage  "C++" ;
        ns1:targetProduct        [ a                        ns1:SoftwareApplication ;
                                   ns1:applicationCategory  "command line tool" ;
                                   ns1:softwareVersion      "0.0.1"
                                 ] ;
        ns1:url                  "https://github.com/Barski-lab/iaintersect/blob/master/README.md" .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#make_gff/islands_control_file>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#islands_control_file> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rename.cwl#target_filename>
        cwl:inputBinding  [ CommandLineBinding:position  6 ;
                            cwl:valueFrom                "$(get_target_name())"
                          ] ;
        sld:type          xsd:string .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#bam_file>
        rdfs:comment        "Indexed bamfile to rank enhancer by" ;
        cwl:inputBinding    [ CommandLineBinding:position  6 ;
                              CommandLineBinding:prefix    "-r"
                            ] ;
        cwl:secondaryFiles  []  ;
        sld:type            cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#enhancers_with_super_bed>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*Enhancers_withSuper.bed" ] ;
        sld:type           cwl:File , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#sort_bed/key>
        cwl:default  "3,3n" , "1,1" , "2,2n" .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/linux-sort.cwl#unsorted_file>
        cwl:inputBinding  [ CommandLineBinding:position
                          4 ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_bigbed/output_filename>
        cwl:source     <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bambai_pair> ;
        cwl:valueFrom  "$(self.location.split('/').slice(-1)[0].split('.').slice(0,-1).join('.')+\"_super_enhancer.bb\")" .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#upstream_bp>
        rdfs:comment      "Upstream region before promoter, base pairs\n" ;
        cwl:inputBinding  [ CommandLineBinding:position  6 ;
                            CommandLineBinding:prefix    "--upstream=" ;
                            CommandLineBinding:separate  false
                          ] ;
        sld:type          xsd:int , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/tss_distance>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#tss_distance> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/annotation_file>
        cwl:source  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#annotation_file> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/custom-bash.cwl#input_file>
        cwl:inputBinding  [ CommandLineBinding:position
                          2 ] ;
        cwl:inputBinding  [ CommandLineBinding:position
                          2 ] ;
        sld:type          cwl:File ;
        sld:type          [ sld:items  cwl:File ;
                            sld:type   sld:array
                          ] ;
        sld:type          [ sld:items  cwl:File ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl>
        a                        cwl:Workflow ;
        rdfs:comment             "Both `islands_file` and `islands_control_file` should be produced by the same cwl tool (iaintersect.cwl or\nmacs2-callpeak-biowardrobe-only.cwl)\n" ;
        ns2:original_cwlVersion  "v1.0" ;
        ns1:about                "Workflow to run Super Enhancer Analysis" ;
        ns1:codeRepository       "https://github.com/Barski-lab/workflows" ;
        ns1:creator              [ a               ns1:Organization ;
                                   ns1:department  [ a               ns1:Organization ;
                                                     ns1:department  [ a              ns1:Organization ;
                                                                       ns1:legalName  "Barski Research Lab" ;
                                                                       ns1:member     [ a           ns1:Person ;
                                                                                        ns1:email   "mailto:misha.kotliar@gmail.com" ;
                                                                                        ns1:name    "Michael Kotliar" ;
                                                                                        ns1:sameAs  <http://orcid.org/0000-0002-6486-3898>
                                                                                      ]
                                                                     ] ;
                                                     ns1:legalName   "Allergy and Immunology"
                                                   ] ;
                                   ns1:legalName   "Cincinnati Children's Hospital Medical Center" ;
                                   ns1:location    [ a                    ns1:PostalAddress ;
                                                     ns1:addressCountry   "USA" ;
                                                     ns1:addressLocality  "Cincinnati" ;
                                                     ns1:addressRegion    "OH" ;
                                                     ns1:postalCode       "45229" ;
                                                     ns1:streetAddress    "3333 Burnet Ave" ;
                                                     ns1:telephone        "+1(513)636-4200"
                                                   ] ;
                                   ns1:logo        "https://www.cincinnatichildrens.org/-/media/cincinnati%20childrens/global%20shared/childrens-logo-new.png"
                                 ] ;
        ns1:downloadUrl          "https://raw.githubusercontent.com/Barski-lab/workflows/master/workflows/super-enhancer.cwl" ;
        ns1:isPartOf             [ a         ns1:CreativeWork ;
                                   ns1:name  "Common Workflow Language" ;
                                   ns1:url   "http://commonwl.org/"
                                 ] ;
        ns1:license              "http://www.apache.org/licenses/LICENSE-2.0" ;
        ns1:name                 "super-enhancer" ;
        Workflow:steps           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#sort_bed> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#make_gff> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#add_island_names> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_macs> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#assign_genes> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#rename_png> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_bigbed> ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/v1.2> ;
        cwl:hints                [ a                            <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/NetworkAccess> ;
                                   NetworkAccess:networkAccess  true
                                 ] ;
        cwl:hints                [ a       <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/LoadListingRequirement> ;
                                   LoadListingRequirement:loadListing
                                           "deep_listing"
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#stitch_distance> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bambai_pair> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#promoter_bp> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#islands_control_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#annotation_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#tss_distance> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#islands_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#chrom_length_file> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#png_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#gene_names_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bigbed_file> ;
        cwl:requirements         [ a  cwl:SubworkflowFeatureRequirement ] ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] ;
        cwl:requirements         [ a  cwl:StepInputExpressionRequirement ] ;
        cwl:requirements         [ a  cwl:MultipleInputFeatureRequirement ] .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#stitched_enhancer_region_map>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*STITCHED_TSS_DISTAL_ENHANCER_REGION_MAP.txt" ] ;
        sld:type           cwl:File , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#assign_genes>
        cwl:in   <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#assign_genes/promoter_bp> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#assign_genes/input_filename> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#assign_genes/annotation_filename> ;
        cwl:out  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#assign_genes/result_file> ;
        cwl:run  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#log_filename>
        rdfs:comment      "Log filename\n" ;
        cwl:default       "" ;
        cwl:inputBinding  [ CommandLineBinding:position  4 ;
                            CommandLineBinding:prefix    "--log=" ;
                            CommandLineBinding:separate  false ;
                            cwl:valueFrom                "${\n    if (self == \"\"){\n      return default_output_filename('_iaintersect.log');\n    } else {\n      return self;\n    }\n}\n"
                          ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/custom-bash.cwl#param>
        cwl:inputBinding  [ CommandLineBinding:position
                          3 ] ;
        cwl:inputBinding  [ CommandLineBinding:position
                          3 ] ;
        sld:type          xsd:string , sld:null ;
        sld:type          [ sld:items  xsd:string ;
                            sld:type   sld:array
                          ] ;
        sld:type          [ sld:items  xsd:string ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl>
        a                        cwl:CommandLineTool ;
        rdfs:comment             "Tool converts bed file to bigBed\n\nBefore running `baseCommand` the following files are created in Docker working directory (using\n`InitialWorkDirRequirement`):\n`narrowpeak.as` - default BED file structure template for ENCODE narrowPeak format\n`broadpeak.as`  - default BED file structure template for ENCODE broadPeak format\n\n`default_output_filename` function returns default output file name based on `input_bed` basename with `*.bb`\nextension if `output_filename` is not provided.\n\n`get_bed_type` function returns default BED file type if `bed_type` is not provided. Depending on `input_bed` file\nextension the following values are returned:\n  `*.narrowpeak`  -->   bed6+4\n  `*.broadpeak`   -->   bed6+3\n   else           -->   null (`bedToBigBed` will use its own default value)\n\n`get_bed_template` function returns default BED file template if `bed_template` is not provided. Depending on\n`input_bed` file extension the following values are returned:\n    `*.narrowpeak`  -->   narrowpeak.as (previously staged into Docker working directory)\n    `*.broadpeak`   -->   broadpeak.as (previously staged into Docker working directory)\n     else           -->   null (`bedToBigBed` will use its own default value)\n" ;
        ns2:original_cwlVersion  "v1.0" ;
        ns1:about                "usage:\n   bedToBigBed in.bed chrom.sizes out.bb\nWhere in.bed is in one of the ascii bed formats, but not including track lines\nand chrom.sizes is a two-column file/URL: <chromosome name> <size in bases>\nand out.bb is the output indexed big bed file.\nIf the assembly <db> is hosted by UCSC, chrom.sizes can be a URL like\n  http://hgdownload.cse.ucsc.edu/goldenPath/<db>/bigZips/<db>.chrom.sizes\nor you may use the script fetchChromSizes to download the chrom.sizes file.\nIf not hosted by UCSC, a chrom.sizes file can be generated by running\ntwoBitInfo on the assembly .2bit file.\nThe in.bed file must be sorted by chromosome,start,\n  to sort a bed file, use the unix sort command:\n     sort -k1,1 -k2,2n unsorted.bed > sorted.bed\nSorting must be set to skip Unicode mapping (LC_COLLATE=C).\n\noptions:\n   -type=bedN[+[P]] :\n                      N is between 3 and 15,\n                      optional (+) if extra \"bedPlus\" fields,\n                      optional P specifies the number of extra fields. Not required, but preferred.\n                      Examples: -type=bed6 or -type=bed6+ or -type=bed6+3\n                      (see http://genome.ucsc.edu/FAQ/FAQformat.html#format1)\n   -as=fields.as - If you have non-standard \"bedPlus\" fields, it's great to put a definition\n                   of each field in a row in AutoSql format here.\n   -blockSize=N - Number of items to bundle in r-tree.  Default 256\n   -itemsPerSlot=N - Number of data points bundled at lowest level. Default 512\n   -unc - If set, do not use compression.\n   -tab - If set, expect fields to be tab separated, normally\n           expects white space separator.\n   -extraIndex=fieldList - If set, make an index on each field in a comma separated list\n           extraIndex=name and extraIndex=name,id are commonly used.\n   -sizesIs2Bit  -- If set, the chrom.sizes file is assumed to be a 2bit file.\n   -udcDir=/path/to/udcCacheDir  -- sets the UDC cache dir for caching of remote files.\n" ;
        ns1:codeRepository       "https://github.com/Barski-lab/workflows" ;
        ns1:creator              [ a               ns1:Organization ;
                                   ns1:department  [ a               ns1:Organization ;
                                                     ns1:department  [ a              ns1:Organization ;
                                                                       ns1:legalName  "Barski Research Lab" ;
                                                                       ns1:member     [ a           ns1:Person ;
                                                                                        ns1:email   "mailto:misha.kotliar@gmail.com" ;
                                                                                        ns1:name    "Michael Kotliar" ;
                                                                                        ns1:sameAs  <http://orcid.org/0000-0002-6486-3898>
                                                                                      ]
                                                                     ] ;
                                                     ns1:legalName   "Allergy and Immunology"
                                                   ] ;
                                   ns1:legalName   "Cincinnati Children's Hospital Medical Center" ;
                                   ns1:location    [ a                    ns1:PostalAddress ;
                                                     ns1:addressCountry   "USA" ;
                                                     ns1:addressLocality  "Cincinnati" ;
                                                     ns1:addressRegion    "OH" ;
                                                     ns1:postalCode       "45229" ;
                                                     ns1:streetAddress    "3333 Burnet Ave" ;
                                                     ns1:telephone        "+1(513)636-4200"
                                                   ] ;
                                   ns1:logo        "https://www.cincinnatichildrens.org/-/media/cincinnati%20childrens/global%20shared/childrens-logo-new.png"
                                 ] ;
        ns1:downloadUrl          "https://raw.githubusercontent.com/Barski-lab/workflows/master/tools/ucsc-bedtobigbed.cwl" ;
        ns1:isPartOf             [ a         ns1:CreativeWork ;
                                   ns1:name  "Common Workflow Language" ;
                                   ns1:url   "http://commonwl.org/"
                                 ] ;
        ns1:license              "http://www.apache.org/licenses/LICENSE-2.0" ;
        ns1:mainEntity           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/metadata/ucsc-metadata.yaml> ;
        ns1:name                 "ucsc-bedtobigbed" ;
        cwl:baseCommand          ( "bedToBigBed" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/v1.2> ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "biowardrobe2/ucscuserapps:v358"
                                 ] ;
        cwl:hints                [ a       <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/LoadListingRequirement> ;
                                   LoadListingRequirement:loadListing
                                           "deep_listing"
                                 ] ;
        cwl:hints                [ a                            <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/NetworkAccess> ;
                                   NetworkAccess:networkAccess  true
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#block_size> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#output_filename> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#unc> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#input_bed> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#size_2bit> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#bed_template> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#extra_index> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#items_per_slot> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#tab_sep> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#bed_type> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#chrom_length_file> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#bigbed_file> ;
        cwl:requirements         [ a            cwl:InitialWorkDirRequirement ;
                                   cwl:listing  [ cwl:entry      "table narrowPeak\n\"BED6+4 Peaks of signal enrichment based on pooled, normalized (interpreted) data.\"\n(\n  string  chrom;        \"Reference sequence chromosome or scaffold\"\n  uint    chromStart;   \"Start position in chromosome\"\n  uint    chromEnd;     \"End position in chromosome\"\n  string  name;\t        \"Name given to a region (preferably unique). Use . if no name is assigned\"\n  uint    score;        \"Indicates how dark the peak will be displayed in the browser (0-1000) \"\n  char[1] strand;       \"+ or - or . for unknown\"\n  float   signalValue;  \"Measurement of average enrichment for the region\"\n  float   pValue;       \"Statistical significance of signal value (-log10). Set to -1 if not used.\"\n  float   qValue;       \"Statistical significance with multiple-test correction applied (FDR -log10). Set to -1 if not used.\"\n  int     peak;         \"Point-source called for this peak; 0-based offset from chromStart. Set to -1 if no point-source called.\"\n)\n" ;
                                                  cwl:entryname  "narrowpeak.as"
                                                ] ;
                                   cwl:listing  [ cwl:entry      "table broadPeak\n\"BED6+3 Peaks of signal enrichment based on pooled, normalized (interpreted) data.\"\n(\n  string  chrom;        \"Reference sequence chromosome or scaffold\"\n  uint    chromStart;   \"Start position in chromosome\"\n  uint    chromEnd;     \"End position in chromosome\"\n  string  name;\t        \"Name given to a region (preferably unique). Use . if no name is assigned.\"\n  uint    score;        \"Indicates how dark the peak will be displayed in the browser (0-1000)\"\n  char[1] strand;       \"+ or - or . for unknown\"\n  float   signalValue;  \"Measurement of average enrichment for the region\"\n  float   pValue;       \"Statistical significance of signal value (-log10). Set to -1 if not used.\"\n  float   qValue;       \"Statistical significance with multiple-test correction applied (FDR -log10). Set to -1 if not used.\"\n)\n" ;
                                                  cwl:entryname  "broadpeak.as"
                                                ]
                                 ] ;
        cwl:requirements         [ a       cwl:InlineJavascriptRequirement ;
                                   InlineJavascriptRequirement:expressionLib
                                           "var default_output_filename = function() { return inputs.input_bed.location.split('/').slice(-1)[0].split('.').slice(0,-1).join('.')+\".bb\"; };" , "var get_bed_template = function() { if (inputs.input_bed.location.split('.').slice(-1)[0].toLowerCase() == \"narrowpeak\"){ return \"narrowpeak.as\"; } else if (inputs.input_bed.location.split('.').slice(-1)[0].toLowerCase() == \"broadpeak\"){ return \"broadpeak.as\"; } else { return null; } };" , "var get_bed_type = function() { if (inputs.input_bed.location.split('.').slice(-1)[0].toLowerCase() == \"narrowpeak\"){ return \"bed6+4\"; } else if (inputs.input_bed.location.split('.').slice(-1)[0].toLowerCase() == \"broadpeak\"){ return \"bed6+3\"; } else { return null; } };"
                                 ] .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#bed_template>
        rdfs:comment      "For non-standard \"bedPlus\" fields put a definition of each field in a row in AutoSql format.\nBy default includes only three required BED fields: chrom, chromStart, chromEnd\n" ;
        cwl:default       "" ;
        cwl:inputBinding  [ CommandLineBinding:position  6 ;
                            CommandLineBinding:prefix    "-as=" ;
                            CommandLineBinding:separate  false ;
                            cwl:valueFrom                "${\n    if (self == \"\"){\n      return get_bed_template();\n    } else {\n      return self;\n    }\n}\n"
                          ] ;
        sld:type          cwl:File , xsd:string , sld:null .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#add_island_names/param>
        cwl:source     <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bambai_pair> ;
        cwl:valueFrom  "$(self.location.split('/').slice(-1)[0].split('.').slice(0,-1).join('.')+\"_super_enhancer.tsv\")" .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#bigbed_file>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "${\n  if (inputs.output_filename == \"\"){\n    return default_output_filename();\n  } else {\n    return inputs.output_filename;\n  }\n}\n" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose>
        cwl:in   <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/tss_distance> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/annotation_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/stitch_distance> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/bam_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/binding_sites_file> ;
        cwl:out  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/plot_points_pic> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#run_rose/gateway_super_enhancers_bed> ;
        cwl:run  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl> .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bambai_pair>
        rdfs:comment        "Coordinate sorted BAM file and BAI index file" ;
        rdfs:label          "Coordinate sorted BAM alignment file (+index BAI)" ;
        cwl:format          <http://edamontology.org/format_2572> ;
        cwl:secondaryFiles  []  ;
        sld:type            cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#islands_file>
        rdfs:comment  "XLS file to include information about peaks returned by iaintersect.cwl or macs2-callpeak-biowardrobe-only.cwl" ;
        rdfs:label    "XLS called peaks file" ;
        cwl:format    <http://edamontology.org/format_3468> ;
        sld:type      cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl>
        a                        cwl:CommandLineTool ;
        rdfs:comment             "Tool assigns each peak obtained from MACS2 to a gene and region (upstream, promoter, exon, intron, intergenic)\n\n`default_output_filename` function returns output filename with sufix set as `ext` argument. Function is called when\neither `output_filename` or `log_filename` inputs are not provided.\n" ;
        ns2:original_cwlVersion  "v1.0" ;
        ns1:about                "Usage:\n  iaintersect [options] --in=pathToFile --a=pathtoFile --out=pathToFile\n  --a                        \tTab-separated annotation file\n  --in                       \tInput filename with MACS2 peak calling results, xls\n  --log                      \tLog filename (default is ./logfile_def.log)\n  --out                      \tBase output file name\n  --promoter                 \tPromoter region around TSS in bp\n  --sam_ignorechr            \tThe chromosome to be ignored\n  --upstream                 \tUpstream region before promoter in bp\n" ;
        ns1:codeRepository       "https://github.com/Barski-lab/workflows" ;
        ns1:creator              [ a               ns1:Organization ;
                                   ns1:department  [ a               ns1:Organization ;
                                                     ns1:department  [ a              ns1:Organization ;
                                                                       ns1:legalName  "Barski Research Lab" ;
                                                                       ns1:member     [ a           ns1:Person ;
                                                                                        ns1:email   "mailto:misha.kotliar@gmail.com" ;
                                                                                        ns1:name    "Michael Kotliar" ;
                                                                                        ns1:sameAs  <http://orcid.org/0000-0002-6486-3898>
                                                                                      ]
                                                                     ] ;
                                                     ns1:legalName   "Allergy and Immunology"
                                                   ] ;
                                   ns1:legalName   "Cincinnati Children's Hospital Medical Center" ;
                                   ns1:location    [ a                    ns1:PostalAddress ;
                                                     ns1:addressCountry   "USA" ;
                                                     ns1:addressLocality  "Cincinnati" ;
                                                     ns1:addressRegion    "OH" ;
                                                     ns1:postalCode       "45229" ;
                                                     ns1:streetAddress    "3333 Burnet Ave" ;
                                                     ns1:telephone        "+1(513)636-4200"
                                                   ] ;
                                   ns1:logo        "https://www.cincinnatichildrens.org/-/media/cincinnati%20childrens/global%20shared/childrens-logo-new.png"
                                 ] ;
        ns1:downloadUrl          "https://raw.githubusercontent.com/Barski-lab/workflows/master/tools/iaintersect.cwl" ;
        ns1:isPartOf             [ a         ns1:CreativeWork ;
                                   ns1:name  "Common Workflow Language" ;
                                   ns1:url   "http://commonwl.org/"
                                 ] ;
        ns1:license              "http://www.apache.org/licenses/LICENSE-2.0" ;
        ns1:mainEntity           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/metadata/iaintersect-metadata.yaml> ;
        ns1:name                 "iaintersect" ;
        cwl:baseCommand          ( "iaintersect" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/v1.2> ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "biowardrobe2/iaintersect:v0.0.2"
                                 ] ;
        cwl:hints                [ a       <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/LoadListingRequirement> ;
                                   LoadListingRequirement:loadListing
                                           "deep_listing"
                                 ] ;
        cwl:hints                [ a                            <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/NetworkAccess> ;
                                   NetworkAccess:networkAccess  true
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#input_filename> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#annotation_filename> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#promoter_bp> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#ignore_chr> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#output_filename> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#upstream_bp> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#log_filename> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#log_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/iaintersect.cwl#result_file> ;
        cwl:requirements         [ a       cwl:InlineJavascriptRequirement ;
                                   InlineJavascriptRequirement:expressionLib
                                           "var default_output_filename = function(ext) { var root = inputs.input_filename.basename.split('.').slice(0,-1).join('.'); return (root == \"\")?inputs.input_filename.basename+ext:root+ext; };"
                                 ] .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bigbed_file>
        rdfs:comment      "Gateway Super Enhancer bigBed file" ;
        rdfs:label        "Gateway Super Enhancer bigBed file" ;
        cwl:format        <http://edamontology.org/format_3475> ;
        cwl:outputSource  <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/workflows/super-enhancer.cwl#bed_to_bigbed/bigbed_file> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rename.cwl>
        a                        cwl:CommandLineTool ;
        rdfs:comment             "Tool renames `source_file` to `target_filename`.\nInput `target_filename` should be set as string. If it's a full path, only basename will be used.\nIf BAI file is present, it will be renamed too\n" ;
        ns2:original_cwlVersion  "v1.0" ;
        ns1:about                "cp source target" ;
        ns1:codeRepository       "https://github.com/Barski-lab/workflows" ;
        ns1:creator              [ a               ns1:Organization ;
                                   ns1:department  [ a               ns1:Organization ;
                                                     ns1:department  [ a              ns1:Organization ;
                                                                       ns1:legalName  "Barski Research Lab" ;
                                                                       ns1:member     [ a           ns1:Person ;
                                                                                        ns1:email   "mailto:misha.kotliar@gmail.com" ;
                                                                                        ns1:name    "Michael Kotliar" ;
                                                                                        ns1:sameAs  <http://orcid.org/0000-0002-6486-3898>
                                                                                      ]
                                                                     ] ;
                                                     ns1:legalName   "Allergy and Immunology"
                                                   ] ;
                                   ns1:legalName   "Cincinnati Children's Hospital Medical Center" ;
                                   ns1:location    [ a                    ns1:PostalAddress ;
                                                     ns1:addressCountry   "USA" ;
                                                     ns1:addressLocality  "Cincinnati" ;
                                                     ns1:addressRegion    "OH" ;
                                                     ns1:postalCode       "45229" ;
                                                     ns1:streetAddress    "3333 Burnet Ave" ;
                                                     ns1:telephone        "+1(513)636-4200"
                                                   ] ;
                                   ns1:logo        "https://www.cincinnatichildrens.org/-/media/cincinnati%20childrens/global%20shared/childrens-logo-new.png"
                                 ] ;
        ns1:downloadUrl          "https://raw.githubusercontent.com/Barski-lab/workflows/master/tools/rename.cwl" ;
        ns1:isPartOf             [ a         ns1:CreativeWork ;
                                   ns1:name  "Common Workflow Language" ;
                                   ns1:url   "http://commonwl.org/"
                                 ] ;
        ns1:license              "http://www.apache.org/licenses/LICENSE-2.0" ;
        ns1:name                 "rename" ;
        cwl:baseCommand          ( "bash" "-c" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/v1.2> ;
        cwl:hints                [ a                            <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/NetworkAccess> ;
                                   NetworkAccess:networkAccess  true
                                 ] ;
        cwl:hints                [ a       <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/LoadListingRequirement> ;
                                   LoadListingRequirement:loadListing
                                           "deep_listing"
                                 ] ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "biowardrobe2/scidap:v0.0.3"
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rename.cwl#source_file> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rename.cwl#script> , <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rename.cwl#target_filename> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rename.cwl#target_file> ;
        cwl:requirements         [ a       cwl:InlineJavascriptRequirement ;
                                   InlineJavascriptRequirement:expressionLib
                                           "var get_target_name = function() { return inputs.target_filename.split('/').slice(-1)[0]; }"
                                 ] .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/ucsc-bedtobigbed.cwl#input_bed>
        rdfs:comment      "Input BED file\n" ;
        cwl:inputBinding  [ CommandLineBinding:position
                          20 ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/8587882f145d3eb8e258e7bf819a94f8dd666dbf/tools/rose.cwl#gff_directory>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "gff" ] ;
        sld:type           cwl:Directory .
