X-Git-Url: http://woldlab.caltech.edu/gitweb/?a=blobdiff_plain;f=htsworkflow%2Ftemplates%2Ftrackhub_manifest.sparql;h=36e57fa88fd0aa21f5cfbf0492b1e2e77365c57b;hb=805338420063c86eda5fe13c566b7eb8c2a650b7;hp=1c83b4760b2b416553c91ebbc9b29f64bec38943;hpb=0be6d8df8447d45048189a9cdf94a2077d68e035;p=htsworkflow.git diff --git a/htsworkflow/templates/trackhub_manifest.sparql b/htsworkflow/templates/trackhub_manifest.sparql index 1c83b47..36e57fa 100644 --- a/htsworkflow/templates/trackhub_manifest.sparql +++ b/htsworkflow/templates/trackhub_manifest.sparql @@ -6,7 +6,7 @@ PREFIX ncbiTaxon: PREFIX geoSoft: PREFIX cells: -select distinct ?name ?filename ?relative_path ?file_format ?output_type ?dataset_id ?replicate ?enriched_in ?ucsc_db +select distinct ?name ?filename ?relative_path ?file_format ?output_type ?dataset_id ?replicate ?enriched_in ?ucsc_db ?paired_end ?technical_replicate ?replaces ?replace_reason WHERE { <{{submission}}> a submissionOntology:submission ; submissionOntology:name ?name ; @@ -17,8 +17,15 @@ WHERE { htswlib:library ?library ; a ?fileClass . + OPTIONAL { ?file encode3:replaces ?replaces_accession ; + encode3:replace_reason ?replace_reason . + } + ?fileClass geoSoft:fileTypeLabel ?file_format ; ucscDaf:output_type ?output_type . + OPTIONAL { ?fileClass ucscDaf:paired_end ?paired_end . } + OPTIONAL { ?fileClass ucscDaf:technical_replicate ?technical_replicate . } + ?library htswlib:replicate ?replicate ; ucscDaf:enriched_in ?enriched_in;