From: Diane Trout Date: Fri, 23 Mar 2012 23:51:52 +0000 (-0700) Subject: Add a rdf type for ucsc track records X-Git-Tag: v0.5.5~46 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=ef1f6dbf72070b5313fcd8b73f8bbc8a109dda9b Add a rdf type for ucsc track records It makes it a bit easier to extract just that type of information. --- diff --git a/encode_submission/encode_find.py b/encode_submission/encode_find.py index eebc3bc..24ed168 100644 --- a/encode_submission/encode_find.py +++ b/encode_submission/encode_find.py @@ -537,6 +537,8 @@ def load_encodedcc_files(model, genome, composite): for filename, attributes in file_index.items(): s = RDF.Node(RDF.Uri(filename)) + model.add_statement( + RDF.Statement(s, TYPE_N, submissionOntology['ucsc_track'])) for name, value in attributes.items(): p = RDF.Node(DCC_NS[name]) o = RDF.Node(value)