@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 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:   <https://schema.org/> .
@prefix ns3:   <http://xmlns.com/foaf/0.1/> .
@prefix NetworkAccess: <https://w3id.org/cwl/cwl#NetworkAccess/> .
@prefix dct:   <http://purl.org/dc/terms/> .
@prefix rdf:   <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ScatterMethod: <https://w3id.org/cwl/cwl#ScatterMethod/> .
@prefix cwl:   <https://w3id.org/cwl/cwl#> .
@prefix ResourceRequirement: <https://w3id.org/cwl/cwl#ResourceRequirement/> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl>
        a                        cwl:Workflow ;
        ns2:original_cwlVersion  "v1.1" ;
        Workflow:steps           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks> ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#bam_file> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#r_script> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#summits_bed> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#narrow_peaks> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#bed_graphs> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#peaks_table> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks/bam_file>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#bam_file> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk_gather_sequence_bundles.cwl#gather_sequence_bundles/sequence_directory>
        rdfs:comment      "The directory with sample fastq or fastq.gz files." ;
        cwl:inputBinding  [ CommandLineBinding:position
                          1 ] ;
        sld:type          [ sld:items  cwl:Directory ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/threads>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#threads> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl/summits_bed>
        rdfs:comment       "BED file containing summit locations for every peak" ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*.bed" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_index_ref_genome_tool.cwl#snaptools_index_ref_genome/input_fasta>
        rdfs:comment      "The reference genome file in FASTA format, if in" ;
        cwl:inputBinding  [ CommandLineBinding:position  1 ;
                            CommandLineBinding:prefix    "--reference-genome"
                          ] ;
        sld:type          cwl:File , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end>
        a                        cwl:CommandLineTool ;
        rdfs:label               "snaptools align paired end reads" ;
        ns2:original_cwlVersion  "v1.1" ;
        dct:creator              <https://orcid.org/0000-0001-5173-4627> ;
        ns1:author               [ a               ns1:Person ;
                                   ns1:email       "jshands@ucsc.edu" ;
                                   ns1:identifier  "https://orcid.org/0000-0001-5173-4627" ;
                                   ns1:name        "Walter Shands"
                                 ] ;
        ns1:codeRepository       "https://github.com/wshands/SnapTools/tree/feature/docker_cwl" ;
        ns1:dateCreated          "2019-11-15" ;
        ns1:keywords             "edam:topic_0091 , edam:topic_0622" ;
        ns1:license              "https://spdx.org/licenses/Apache-2.0" ;
        ns1:programmingLanguage  "Python" ;
        cwl:arguments            ( [ CommandLineBinding:position  1 ;
                                     cwl:valueFrom                "--"
                                   ]
                                 ) ;
        cwl:baseCommand          ( "/opt/snaptools_wrapper.py" "align-paired-end" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/overwrite> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/if_sort> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/output_bam> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/tmp_folder> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/num_threads> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/input_fastq2> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/min_cov> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/verbose> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/path_to_aligner> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/aligner> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/read_fastq_command> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/aligner_options> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/input_fastq1> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/alignment_index> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/paired_end_bam> ;
        cwl:requirements         [ a                              cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin   1 ;
                                   ResourceRequirement:outdirMin  100000 ;
                                   ResourceRequirement:ramMin     1024
                                 ] ;
        cwl:requirements         [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "hubmap/sc-atac-seq-grch38:1.3.2"
                                 ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk_gather_sequence_bundles.cwl#gather_sequence_bundles/fastq2_files>
        cwl:outputBinding  [ CommandOutputBinding:glob  "input.json" ;
                             CommandOutputBinding:outputEval
                                     "${\n    var bundle_array_str = self[0].contents;\n    var bundle_array = JSON.parse(bundle_array_str);\n    var file_array = [];\n    for (var i =0; i < bundle_array.length; i++) {\n        // The dictionary key 'input_fastq2' must match the key used\n        // in the string template SEQUENCES_TEMPLATE in gather_sequence_files.py\n        var file = bundle_array[i].fastq_r2;\n        file_array.push(file);\n    }\n    return file_array;\n }\n" ;
                             cwl:loadContents           true
                           ] ;
        sld:type           [ sld:items  cwl:File ;
                             sld:type   sld:array
                           ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#index_ref_genome/input_fasta>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#reference_genome_fasta> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#snaptools_remove_blacklist>
        cwl:in   <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#snaptools_remove_blacklist/bam_file> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#snaptools_remove_blacklist/bed_file> ;
        cwl:out  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#snaptools_remove_blacklist/rmsk_bam> ;
        cwl:run  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_remove_blacklist.cwl> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#bam_file>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#snaptools_remove_blacklist/rmsk_bam> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/if_sort>
        rdfs:comment      "Whether to sort the bam file based on the read name." ;
        cwl:inputBinding  [ CommandLineBinding:position  12 ;
                            CommandLineBinding:prefix    "--if-sort"
                          ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/tmp_folder>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#tmp_folder> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/input_fastq2>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#gather_sequence_bundles/fastq2_files> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl/r_script>
        rdfs:comment       "An r script for generating a pdf of model based on data" ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*.r" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/fastqc.cwl#fastq_dir>
        rdfs:comment      "Directory containing fastq files to be evaluated" ;
        cwl:inputBinding  [ CommandLineBinding:position
                          1 ] ;
        sld:type          cwl:Directory .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl>
        a                        cwl:Workflow ;
        ns2:original_cwlVersion  "v1.1" ;
        Workflow:steps           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#alignment_qc> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#sort_bam_file> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#snaptools_remove_blacklist> ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#threads> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#encode_blacklist> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#merged_bam> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#alignment_index> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#alignment_qc_report> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#bam_file> ;
        cwl:requirements         [ a  cwl:MultipleInputFeatureRequirement ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#threads>
        sld:type  xsd:int , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl/peaks_table>
        rdfs:comment       "Tabular file containing peak data" ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*.xls" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/fastqc.cwl#threads>
        rdfs:comment      "The number of threads to use for fastqc" ;
        cwl:inputBinding  [ CommandLineBinding:position
                          2 ] ;
        sld:default       8 ;
        sld:type          xsd:int , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#narrow_peaks>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis/narrow_peaks> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#tmp_folder>
        sld:type  xsd:string , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#gather_sequence_bundles/sequence_directory>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#sequence_directory> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#fastqc/threads>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#threads> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#alignment_qc_report>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#alignment_qc/alignment_qc_report> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/sort_bam_file_tool.cwl#sort_bam_file_tool/unsorted_paired_end_bam>
        cwl:inputBinding  [ CommandLineBinding:position
                          0 ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#threads>
        sld:type  xsd:int , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks>
        cwl:in   <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks/bam_file> ;
        cwl:out  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks/bed_graphs> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks/narrow_peaks> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks/peaks_table> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks/r_script> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks/summits_bed> ;
        cwl:run  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl>
        a                        cwl:CommandLineTool ;
        rdfs:label               "call peaks" ;
        ns2:original_cwlVersion  "v1.1" ;
        cwl:baseCommand          ( "macs2" "callpeak" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl/bam_file> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl/peaks_table> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl/bed_graphs> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl/r_script> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl/narrow_peaks> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl/summits_bed> ;
        cwl:requirements         [ a                              cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin   1 ;
                                   ResourceRequirement:outdirMin  100000 ;
                                   ResourceRequirement:ramMin     1024
                                 ] ;
        cwl:requirements         [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "hubmap/sc-atac-seq-grch38:1.3.2"
                                 ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#summits_bed>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis/summits_bed> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#alignment_index>
        sld:type  cwl:File , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/read_fastq_command>
        rdfs:comment      "Command line to execute for each of the input files." ;
        cwl:inputBinding  [ CommandLineBinding:position  9 ;
                            CommandLineBinding:prefix    "--read-fastq-command"
                          ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl>
        a                        cwl:Workflow ;
        ns2:original_cwlVersion  "v1.1" ;
        Workflow:steps           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#fastqc> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#merge_bam> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#gather_sequence_bundles> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#index_ref_genome> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end> ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#reference_genome_fasta> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#size_index> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#if_sort> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#genome_name> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#alignment_index> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#encode_blacklist> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#sequence_directory> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#tmp_folder> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#threads> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#summits_bed> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bam_file> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bed_graphs> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#r_script> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#peaks_table> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#narrow_peaks> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#fastqc_dir> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#alignment_qc_report> ;
        cwl:requirements         [ a  cwl:ScatterFeatureRequirement ] ;
        cwl:requirements         [ a  cwl:SubworkflowFeatureRequirement ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/verbose>
        rdfs:comment      "A boolean tag; if true output the progress." ;
        cwl:inputBinding  [ CommandLineBinding:position  15 ;
                            CommandLineBinding:prefix    "--verbose"
                          ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl/bam_file>
        rdfs:comment      "The bam file to call peaks on" ;
        cwl:inputBinding  [ CommandLineBinding:position  1 ;
                            CommandLineBinding:prefix    "-t"
                          ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/input_fastq2>
        rdfs:comment      "The second paired end fastq file to be aligned." ;
        cwl:inputBinding  [ CommandLineBinding:position  4 ;
                            CommandLineBinding:prefix    "--input-fastq2"
                          ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#merged_bam>
        sld:type  cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/fastqc.cwl>
        a                        cwl:CommandLineTool ;
        rdfs:label               "Runs fastQC on each fastq file in fastq directory" ;
        ns2:original_cwlVersion  "v1.0" ;
        cwl:baseCommand          ( "/opt/fastqc_wrapper.py" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/v1.2> ;
        cwl:hints                [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "hubmap/sc-atac-seq-grch38:1.3.2"
                                 ] ;
        cwl:hints                [ a                cwl:LoadListingRequirement ;
                                   cwl:loadListing  "deep_listing"
                                 ] ;
        cwl:hints                [ a                            cwl:NetworkAccess ;
                                   NetworkAccess:networkAccess  true
                                 ] ;
        cwl:inputs               <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/fastqc.cwl#threads> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/fastqc.cwl#fastq_dir> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/fastqc.cwl#fastqc_dir> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/overwrite>
        rdfs:comment      "Whether to overwrite the output file if it already exists." ;
        cwl:inputBinding  [ CommandLineBinding:position  14 ;
                            CommandLineBinding:prefix    "--overwrite"
                          ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk_gather_sequence_bundles.cwl#gather_sequence_bundles/fastq1_files>
        cwl:outputBinding  [ CommandOutputBinding:glob  "input.json" ;
                             CommandOutputBinding:outputEval
                                     "${\n    var bundle_array_str = self[0].contents;\n    var bundle_array = JSON.parse(bundle_array_str);\n    var file_array = [];\n    for (var i =0; i < bundle_array.length; i++) {\n        // The dictionary key 'input_fastq1' must match the key used\n        // in the string template SEQUENCES_TEMPLATE in gather_sequence_files.py\n        var file = bundle_array[i].fastq_r1;\n        file_array.push(file);\n    }\n    return file_array;\n }\n" ;
                             cwl:loadContents           true
                           ] ;
        sld:type           [ sld:items  cwl:File ;
                             sld:type   sld:array
                           ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/sort_bam_file_tool.cwl#sort_bam_file_tool/sorted_paired_end_bam>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "$(inputs.sorted_bam_name)" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end>
        cwl:in             <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/input_fastq2> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/if_sort> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/input_fastq1> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/num_threads> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/alignment_index> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/tmp_folder> ;
        cwl:out            <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/paired_end_bam> ;
        cwl:run            <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl> ;
        cwl:scatter        ( <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/input_fastq1> <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/input_fastq2> ) ;
        cwl:scatterMethod  ScatterMethod:dotproduct .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl/bed_graphs>
        rdfs:comment       "Bed graph files containing information about pileup signals and local biases" ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*.bdg" ] ;
        sld:type           [ sld:items  cwl:File ;
                             sld:type   sld:array
                           ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#merge_bam>
        cwl:in   <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#merge_bam/bam_files> ;
        cwl:out  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#merge_bam/merged_bam> ;
        cwl:run  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/merge_bam.cwl> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#encode_blacklist>
        sld:type  cwl:File , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#peaks_table>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis/peaks_table> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_index_ref_genome_tool.cwl#snaptools_index_ref_genome/size_index>
        rdfs:comment      "The genome size index, produced by \"samtools faidx\"." ;
        cwl:inputBinding  [ CommandLineBinding:position  3 ;
                            CommandLineBinding:prefix    "--size-index"
                          ] ;
        sld:type          cwl:File , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#alignment_qc/threads>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#threads> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#index_ref_genome>
        cwl:in   <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#index_ref_genome/alignment_index> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#index_ref_genome/size_index> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#index_ref_genome/input_fasta> ;
        cwl:out  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#index_ref_genome/genome_alignment_index> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#index_ref_genome/genome_size_index> ;
        cwl:run  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_index_ref_genome_tool.cwl> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#alignment_index>
        sld:type  cwl:Directory , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/encode_blacklist>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#encode_blacklist> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_remove_blacklist.cwl#snaptools_remove_blacklist>
        a                        cwl:CommandLineTool ;
        rdfs:label               "snaptools remove blacklist" ;
        ns2:original_cwlVersion  "v1.1" ;
        dct:creator              <https://orcid.org/0000-0001-5173-4627> ;
        ns1:author               [ a               ns1:Person ;
                                   ns1:email       "jshands@ucsc.edu" ;
                                   ns1:identifier  "https://orcid.org/0000-0001-5173-4627" ;
                                   ns1:name        "Walter Shands"
                                 ] ;
        ns1:codeRepository       "https://github.com/wshands/SnapTools/tree/feature/docker_cwl" ;
        ns1:dateCreated          "2020-3-4" ;
        ns1:keywords             "edam:topic_0091 , edam:topic_0622" ;
        ns1:license              "https://spdx.org/licenses/Apache-2.0" ;
        ns1:programmingLanguage  "Python" ;
        cwl:baseCommand          ( "/opt/remove_blacklist.sh" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_remove_blacklist.cwl#snaptools_remove_blacklist/bed_file> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_remove_blacklist.cwl#snaptools_remove_blacklist/bam_file> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_remove_blacklist.cwl#snaptools_remove_blacklist/rmsk_bam> ;
        cwl:requirements         [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "hubmap/sc-atac-seq-grch38:1.3.2"
                                 ] ;
        cwl:requirements         [ a                              cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin   1 ;
                                   ResourceRequirement:outdirMin  100000 ;
                                   ResourceRequirement:ramMin     1024
                                 ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#encode_blacklist>
        sld:type  cwl:File , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/sort_bam_file_tool.cwl#sort_bam_file_tool/threads>
        cwl:inputBinding  [ CommandLineBinding:position  2 ;
                            CommandLineBinding:prefix    "--threads"
                          ] ;
        sld:default       0 ;
        sld:type          xsd:int , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis/bam_file>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/bam_file> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/if_sort>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#if_sort> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#merge_bam/bam_files>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/paired_end_bam> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/num_threads>
        rdfs:comment      "The number of threads to use." ;
        cwl:inputBinding  [ CommandLineBinding:position  11 ;
                            CommandLineBinding:prefix    "--num-threads"
                          ] ;
        sld:default       8 ;
        sld:type          xsd:int , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#r_script>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks/r_script> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/path_to_aligner>
        rdfs:comment      "The file system path to the aligner." ;
        cwl:inputBinding  [ CommandLineBinding:position  7 ;
                            CommandLineBinding:prefix    "--path-to-aligner"
                          ] ;
        sld:default       "/usr/local/bin" ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/sort_bam_file_tool.cwl#sort_bam_file_tool/sorted_bam_name>
        cwl:inputBinding  [ CommandLineBinding:position
                          1 ] ;
        sld:default       "sorted-snaptools_alignment.bam" ;
        sld:type          xsd:string .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis>
        cwl:in   <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis/bam_file> ;
        cwl:out  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis/bed_graphs> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis/r_script> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis/peaks_table> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis/summits_bed> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis/narrow_peaks> ;
        cwl:run  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process>
        cwl:in   <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/alignment_index> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/merged_bam> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/encode_blacklist> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/threads> ;
        cwl:out  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/alignment_qc_report> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/bam_file> ;
        cwl:run  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/merged_bam>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#merge_bam/merged_bam> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/alignment_qc.cwl#alignment_qc_tool/bam_file>
        cwl:inputBinding  [ CommandLineBinding:position
                          0 ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/alignment_qc.cwl#alignment_qc_tool/threads>
        cwl:inputBinding  [ CommandLineBinding:position
                          1 ] ;
        sld:default       1 ;
        sld:type          xsd:int , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/alignment_index>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#index_ref_genome/genome_alignment_index> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#if_sort>
        sld:type  xsd:string , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/min_cov>
        rdfs:comment      "Minimum number of fragments per barcode." ;
        cwl:inputBinding  [ CommandLineBinding:position  10 ;
                            CommandLineBinding:prefix    "--min-cov"
                          ] ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#fastqc_dir>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#fastqc/fastqc_dir> ;
        sld:type          [ sld:items  cwl:Directory ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#fastqc>
        cwl:in             <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#fastqc/fastq_dir> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#fastqc/threads> ;
        cwl:out            <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#fastqc/fastqc_dir> ;
        cwl:run            <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/fastqc.cwl> ;
        cwl:scatter        ( <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#fastqc/fastq_dir> ) ;
        cwl:scatterMethod  ScatterMethod:dotproduct .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/alignment_qc.cwl#alignment_qc_tool/alignment_qc_report>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "alignment_qc.json" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#narrow_peaks>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks/narrow_peaks> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#bam_file>
        sld:type  cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#summits_bed>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks/summits_bed> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#bed_graphs>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks/bed_graphs> ;
        sld:type          [ sld:items  cwl:File ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#gather_sequence_bundles>
        cwl:in   <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#gather_sequence_bundles/sequence_directory> ;
        cwl:out  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#gather_sequence_bundles/fastq1_files> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#gather_sequence_bundles/fastq2_files> ;
        cwl:run  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk_gather_sequence_bundles.cwl> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/sort_bam_file_tool.cwl#sort_bam_file_tool>
        a                        cwl:CommandLineTool ;
        rdfs:label               "sort bam file" ;
        ns2:original_cwlVersion  "v1.1" ;
        cwl:baseCommand          ( "/opt/bulk/sort_bam_file.py" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/sort_bam_file_tool.cwl#sort_bam_file_tool/unsorted_paired_end_bam> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/sort_bam_file_tool.cwl#sort_bam_file_tool/threads> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/sort_bam_file_tool.cwl#sort_bam_file_tool/sorted_bam_name> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/sort_bam_file_tool.cwl#sort_bam_file_tool/sorted_paired_end_bam> ;
        cwl:requirements         [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "hubmap/sc-atac-seq-grch38:1.3.2"
                                 ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/alignment_qc.cwl#alignment_qc_tool>
        a                        cwl:CommandLineTool ;
        rdfs:label               "alignment qc" ;
        ns2:original_cwlVersion  "v1.1" ;
        cwl:baseCommand          ( "/opt/alignment_qc.py" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/alignment_qc.cwl#alignment_qc_tool/threads> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/alignment_qc.cwl#alignment_qc_tool/bam_file> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/alignment_qc.cwl#alignment_qc_tool/alignment_qc_report> ;
        cwl:requirements         [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "hubmap/sc-atac-seq-grch38:1.3.2"
                                 ] ;
        cwl:requirements         [ a                              cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin   1 ;
                                   ResourceRequirement:outdirMin  100000 ;
                                   ResourceRequirement:ramMin     1024
                                 ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#alignment_qc/bam_file>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#merged_bam> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/merge_bam.cwl#merge_bam.cwl>
        a                        cwl:CommandLineTool ;
        rdfs:label               "Merge alignment output" ;
        ns2:original_cwlVersion  "v1.1" ;
        cwl:arguments            ( "merged.bam" ) ;
        cwl:baseCommand          ( "samtools" "merge" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/merge_bam.cwl#merge_bam.cwl/bam_files> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/merge_bam.cwl#merge_bam.cwl/merged_bam> ;
        cwl:requirements         [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "hubmap/sc-atac-seq-grch38:1.3.2"
                                 ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/alignment_index>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#index_ref_genome/genome_alignment_index> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#index_ref_genome/alignment_index>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#alignment_index> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_remove_blacklist.cwl#snaptools_remove_blacklist/bed_file>
        rdfs:comment      "The genome BED file with the blacklisted regions to be removed." ;
        cwl:inputBinding  [ CommandLineBinding:position  2 ;
                            CommandLineBinding:prefix    "--bed-file"
                          ] ;
        sld:type          cwl:File , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#sequence_directory>
        sld:type  [ sld:items  cwl:Directory ;
                    sld:type   sld:array
                  ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/input_fastq1>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#gather_sequence_bundles/fastq1_files> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bed_graphs>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis/bed_graphs> ;
        sld:type          [ sld:items  cwl:File ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#size_index>
        sld:type  cwl:File , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk_gather_sequence_bundles.cwl#gather_sequence_bundles>
        a                        cwl:CommandLineTool ;
        rdfs:label               "gather sequence bundles" ;
        ns2:original_cwlVersion  "v1.1" ;
        cwl:baseCommand          ( "/opt/bulk/bulk_gather_sequence_files.py" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk_gather_sequence_bundles.cwl#gather_sequence_bundles/sequence_directory> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk_gather_sequence_bundles.cwl#gather_sequence_bundles/fastq1_files> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk_gather_sequence_bundles.cwl#gather_sequence_bundles/fastq2_files> ;
        cwl:requirements         [ a            cwl:InitialWorkDirRequirement ;
                                   cwl:listing  "$(inputs.sequence_directory)"
                                 ] ;
        cwl:requirements         [ a                              cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin   1 ;
                                   ResourceRequirement:outdirMin  100000 ;
                                   ResourceRequirement:ramMin     1024
                                 ] ;
        cwl:requirements         [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "hubmap/sc-atac-seq-grch38:1.3.2"
                                 ] ;
        cwl:requirements         [ a  cwl:InlineJavascriptRequirement ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#r_script>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_analysis/r_script> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_index_ref_genome_tool.cwl#snaptools_index_ref_genome/genome_alignment_index>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "index" ] ;
        sld:type           cwl:Directory , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#genome_name>
        sld:type  xsd:string , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/aligner_options>
        rdfs:comment      "List of strings indicating options you would like passed to aligner." ;
        cwl:inputBinding  [ CommandLineBinding:position  8 ;
                            CommandLineBinding:prefix    "--aligner-options"
                          ] ;
        sld:type          sld:null ;
        sld:type          [ sld:items  xsd:string ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#fastqc/fastq_dir>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#sequence_directory> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/fastqc.cwl#fastqc_dir>
        rdfs:comment       "Individual graph files and additional data files containing the raw data from which plots were drawn." ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "fastqc_output" ] ;
        sld:type           cwl:Directory .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#peaks_table>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_analysis.cwl#call_peaks/peaks_table> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#index_ref_genome/size_index>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#size_index> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#snaptools_remove_blacklist/bed_file>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#encode_blacklist> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#sort_bam_file/threads>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#threads> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/output_bam>
        rdfs:comment      "The name to use for the output bam file containing unfiltered alignments." ;
        cwl:inputBinding  [ CommandLineBinding:position  5 ;
                            CommandLineBinding:prefix    "--output-bam"
                          ] ;
        sld:default       "snaptools_alignment.bam" ;
        sld:type          xsd:string .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/aligner>
        rdfs:comment      "The name of the aligner, e.g. 'bwa'." ;
        cwl:inputBinding  [ CommandLineBinding:position  6 ;
                            CommandLineBinding:prefix    "--aligner"
                          ] ;
        sld:default       "bwa" ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_remove_blacklist.cwl#snaptools_remove_blacklist/bam_file>
        rdfs:comment      "The genome BAM file to be processed." ;
        cwl:inputBinding  [ CommandLineBinding:position  1 ;
                            CommandLineBinding:prefix    "--bam-file"
                          ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/paired_end_bam>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "$(inputs.output_bam)" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#reference_genome_fasta>
        sld:type  cwl:File , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#alignment_qc>
        cwl:in   <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#alignment_qc/bam_file> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#alignment_qc/threads> ;
        cwl:out  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#alignment_qc/alignment_qc_report> ;
        cwl:run  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/alignment_qc.cwl> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#sort_bam_file/unsorted_paired_end_bam>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#merged_bam> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/call_peaks.cwl#call_peaks.cwl/narrow_peaks>
        rdfs:comment       "BED6+4 format file which contains the peak locations together with peak summit, p-value, and q-value. Can be loaded into UCSC genome browser" ;
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*.narrowPeak" ] ;
        sld:type           cwl:File .

<https://orcid.org/0000-0001-5173-4627>
        ns3:mbox  "jshands@ucsc.edu" ;
        ns3:name  "Walter Shands" .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#alignment_qc_report>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/alignment_qc_report> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#snaptools_remove_blacklist/bam_file>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#sort_bam_file/sorted_paired_end_bam> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#sort_bam_file>
        cwl:in   <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#sort_bam_file/threads> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#sort_bam_file/unsorted_paired_end_bam> ;
        cwl:out  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/bulk_process.cwl#sort_bam_file/sorted_paired_end_bam> ;
        cwl:run  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/sort_bam_file_tool.cwl> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/input_fastq1>
        rdfs:comment      "The first paired end fastq file to be aligned." ;
        cwl:inputBinding  [ CommandLineBinding:position  3 ;
                            CommandLineBinding:prefix    "--input-fastq1"
                          ] ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bam_file>
        cwl:outputSource  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#bulk_process/bam_file> ;
        sld:type          cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_remove_blacklist.cwl#snaptools_remove_blacklist/rmsk_bam>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "rmsk.bam" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/tmp_folder>
        rdfs:comment      "Directory to store temporary files." ;
        cwl:inputBinding  [ CommandLineBinding:position  13 ;
                            CommandLineBinding:prefix    "--tmp-folder"
                          ] ;
        sld:default       "/tmp" ;
        sld:type          xsd:string , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_index_ref_genome_tool.cwl#snaptools_index_ref_genome/alignment_index>
        rdfs:comment      "The alignment index file in tar.* format. If provided snaptools index-genome is not called." ;
        cwl:inputBinding  [ CommandLineBinding:position  2 ;
                            CommandLineBinding:prefix    "--alignment-index"
                          ] ;
        sld:type          cwl:File , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/merge_bam.cwl#merge_bam.cwl/merged_bam>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "merged.bam" ] ;
        sld:type           cwl:File .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_index_ref_genome_tool.cwl#snaptools_index_ref_genome/genome_size_index>
        cwl:outputBinding  [ CommandOutputBinding:glob
                          "*.fai" ] ;
        sld:type           cwl:File , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/merge_bam.cwl#merge_bam.cwl/bam_files>
        cwl:inputBinding  [ CommandLineBinding:position
                          1 ] ;
        sld:type          [ sld:items  cwl:File ;
                            sld:type   sld:array
                          ] .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#align_paired_end/num_threads>
        cwl:source  <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/bulk-atac-seq-pipeline.cwl#threads> .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_align_paired_end_tool.cwl#snaptools_align_paired_end/alignment_index>
        rdfs:comment      "The alignment index to use." ;
        cwl:inputBinding  [ CommandLineBinding:position  2 ;
                            CommandLineBinding:prefix    "--alignment-index"
                          ] ;
        sld:type          cwl:Directory , sld:null .

<https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_index_ref_genome_tool.cwl#snaptools_index_ref_genome>
        a                        cwl:CommandLineTool ;
        rdfs:label               "snaptools index reference genome" ;
        ns2:original_cwlVersion  "v1.1" ;
        dct:creator              <https://orcid.org/0000-0001-5173-4627> ;
        ns1:author               [ a               ns1:Person ;
                                   ns1:email       "jshands@ucsc.edu" ;
                                   ns1:identifier  "https://orcid.org/0000-0001-5173-4627" ;
                                   ns1:name        "Walter Shands"
                                 ] ;
        ns1:codeRepository       "https://github.com/wshands/SnapTools/tree/feature/docker_cwl" ;
        ns1:dateCreated          "2019-11-15" ;
        ns1:keywords             "edam:topic_0091 , edam:topic_0622" ;
        ns1:license              "https://spdx.org/licenses/Apache-2.0" ;
        ns1:programmingLanguage  "Python" ;
        cwl:baseCommand          ( "/opt/index_reference_genome.py" ) ;
        cwl:cwlVersion           <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/v1.2> ;
        cwl:inputs               <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_index_ref_genome_tool.cwl#snaptools_index_ref_genome/alignment_index> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_index_ref_genome_tool.cwl#snaptools_index_ref_genome/input_fasta> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_index_ref_genome_tool.cwl#snaptools_index_ref_genome/size_index> ;
        cwl:outputs              <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_index_ref_genome_tool.cwl#snaptools_index_ref_genome/genome_size_index> , <https://w3id.org/cwl/view/git/44dbe381f68878ab607b167b62267c4ea97f3322/steps/create_snap_steps/snaptools_index_ref_genome_tool.cwl#snaptools_index_ref_genome/genome_alignment_index> ;
        cwl:requirements         [ a                              cwl:ResourceRequirement ;
                                   ResourceRequirement:coresMin   1 ;
                                   ResourceRequirement:outdirMin  100000 ;
                                   ResourceRequirement:ramMin     1024
                                 ] ;
        cwl:requirements         [ a                             cwl:DockerRequirement ;
                                   DockerRequirement:dockerPull  "hubmap/sc-atac-seq-grch38:1.3.2"
                                 ] ;
        cwl:requirements         [ a            cwl:InitialWorkDirRequirement ;
                                   cwl:listing  "$(inputs.input_fasta)"
                                 ] .
