projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
852282c
)
Add a rdf type for ucsc track records
author
Diane Trout
<diane@caltech.edu>
Fri, 23 Mar 2012 23:51:52 +0000
(16:51 -0700)
committer
Diane Trout
<diane@caltech.edu>
Fri, 23 Mar 2012 23:51:52 +0000
(16:51 -0700)
It makes it a bit easier to extract just that type of
information.
encode_submission/encode_find.py
patch
|
blob
|
history
diff --git
a/encode_submission/encode_find.py
b/encode_submission/encode_find.py
index eebc3bcc481c5597c121f5a461da4199249e6811..24ed16872cf7654d25cd40f5b0ad977976512e52 100644
(file)
--- 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)