stash-merritt 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +193 -0
  3. data/.rubocop.yml +32 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +12 -0
  6. data/Gemfile +6 -0
  7. data/Gemfile.lock +326 -0
  8. data/LICENSE.md +22 -0
  9. data/README.md +53 -0
  10. data/Rakefile +49 -0
  11. data/lib/datacite/mapping/datacite_xml_factory.rb +212 -0
  12. data/lib/stash/merritt/ezid_helper.rb +50 -0
  13. data/lib/stash/merritt/module_info.rb +12 -0
  14. data/lib/stash/merritt/repository.rb +17 -0
  15. data/lib/stash/merritt/submission_job.rb +90 -0
  16. data/lib/stash/merritt/submission_package/data_one_manifest_builder.rb +41 -0
  17. data/lib/stash/merritt/submission_package/merritt_datacite_builder.rb +22 -0
  18. data/lib/stash/merritt/submission_package/merritt_delete_builder.rb +25 -0
  19. data/lib/stash/merritt/submission_package/merritt_oaidc_builder.rb +130 -0
  20. data/lib/stash/merritt/submission_package/stash_wrapper_builder.rb +59 -0
  21. data/lib/stash/merritt/submission_package.rb +125 -0
  22. data/lib/stash/merritt/sword_helper.rb +58 -0
  23. data/lib/stash/merritt.rb +5 -0
  24. data/lib/stash.rb +5 -0
  25. data/spec/.rubocop.yml +10 -0
  26. data/spec/config/app_config.yml +3 -0
  27. data/spec/config/database.yml +7 -0
  28. data/spec/config/licenses.yml +18 -0
  29. data/spec/data/archive/mrt-datacite.xml +121 -0
  30. data/spec/data/archive/mrt-dataone-manifest.txt +32 -0
  31. data/spec/data/archive/mrt-oaidc.xml +38 -0
  32. data/spec/data/archive/stash-wrapper.xml +213 -0
  33. data/spec/data/archive.zip +0 -0
  34. data/spec/data/dc4-with-funding-references.xml +123 -0
  35. data/spec/db/datacite/mapping/datacite_xml_factory_spec.rb +56 -0
  36. data/spec/db/stash/merritt/merritt_oaidc_builder_spec.rb +72 -0
  37. data/spec/db/stash/merritt/submission_package_spec.rb +174 -0
  38. data/spec/db/stash/merritt/sword_helper_spec.rb +162 -0
  39. data/spec/db_spec_helper.rb +31 -0
  40. data/spec/rspec_custom_matchers.rb +92 -0
  41. data/spec/spec_helper.rb +86 -0
  42. data/spec/unit/stash/merritt/ezid_helper_spec.rb +88 -0
  43. data/spec/unit/stash/merritt/repository_spec.rb +19 -0
  44. data/spec/unit/stash/merritt/submission_job_spec.rb +127 -0
  45. data/spec/util/resource_builder.rb +333 -0
  46. data/stash-merritt.gemspec +48 -0
  47. data/stash-merritt.iml +147 -0
  48. data/stash-merritt.ipr +127 -0
  49. data/travis-local-deps.sh +43 -0
  50. metadata +337 -0
@@ -0,0 +1,125 @@
1
+ require 'fileutils'
2
+ require 'tmpdir'
3
+ require 'stash_engine'
4
+ require 'stash_datacite'
5
+ require 'zip'
6
+ require 'datacite/mapping/datacite_xml_factory'
7
+ require 'stash/merritt/submission_package/data_one_manifest_builder'
8
+ require 'stash/merritt/submission_package/merritt_datacite_builder'
9
+ require 'stash/merritt/submission_package/merritt_delete_builder'
10
+ require 'stash/merritt/submission_package/merritt_oaidc_builder'
11
+ require 'stash/merritt/submission_package/stash_wrapper_builder'
12
+
13
+ module Stash
14
+ module Merritt
15
+ class SubmissionPackage
16
+ attr_reader :resource
17
+ attr_reader :zipfile
18
+
19
+ def initialize(resource:)
20
+ raise ArgumentError, "Resource (#{resource.id}) must have an identifier before submission" unless resource.identifier_str
21
+ @resource = resource
22
+ @zipfile = create_zipfile
23
+ end
24
+
25
+ def resource_id
26
+ resource.id
27
+ end
28
+
29
+ def dc3_xml
30
+ @dc3_xml ||= datacite_xml_factory.build_datacite_xml(datacite_3: true)
31
+ end
32
+
33
+ def resource_title
34
+ primary_title = resource.titles.where(title_type: nil).first
35
+ primary_title.title.to_s if primary_title
36
+ end
37
+
38
+ def create_zipfile
39
+ StashDatacite::PublicationYear.ensure_pub_year(resource)
40
+ zipfile_path = File.join(workdir, "#{resource_id}_archive.zip")
41
+ Zip::File.open(zipfile_path, Zip::File::CREATE) do |zipfile|
42
+ builders.each { |builder| write_to_zipfile(zipfile, builder) }
43
+ uploads.each { |upload| add_to_zipfile(zipfile, upload) }
44
+ end
45
+ zipfile_path
46
+ end
47
+
48
+ def cleanup!
49
+ FileUtils.remove_dir(workdir)
50
+ @zipfile = nil
51
+ end
52
+
53
+ def to_s
54
+ "#{self.class}: submission package for resource #{resource_id} (#{resource_title}"
55
+ end
56
+
57
+ private
58
+
59
+ def write_to_zipfile(zipfile, builder)
60
+ return unless (file = builder.write_file(workdir))
61
+ zipfile.add(builder.file_name, file)
62
+ end
63
+
64
+ def add_to_zipfile(zipfile, upload)
65
+ path = File.join(resource.upload_dir, upload.upload_file_name)
66
+ raise ArgumentError("Upload file '#{upload.upload_file_name}' not found in directory #{resource.upload_dir}") unless File.exist?(path)
67
+ zipfile.add(upload.upload_file_name, path)
68
+ end
69
+
70
+ def builders
71
+ [stash_wrapper_builder, mrt_datacite_builder, mrt_oaidc_builder, mrt_dataone_manifest_builder, mrt_delete_builder]
72
+ end
73
+
74
+ def stash_wrapper_builder
75
+ @stash_wrapper_builder ||= StashWrapperBuilder.new(dcs_resource: dc4_resource, version_number: version_number, uploads: uploads)
76
+ end
77
+
78
+ def mrt_datacite_builder
79
+ @mrt_datacite_builder ||= MerrittDataciteBuilder.new(datacite_xml_factory)
80
+ end
81
+
82
+ def mrt_oaidc_builder
83
+ @mrt_oaidc_builder ||= MerrittOAIDCBuilder.new(resource_id: resource_id)
84
+ end
85
+
86
+ def mrt_dataone_manifest_builder
87
+ @mrt_dataone_manifest_builder ||= DataONEManifestBuilder.new(uploads)
88
+ end
89
+
90
+ def mrt_delete_builder
91
+ @mrt_delete_builder ||= MerrittDeleteBuilder.new(resource_id: resource_id)
92
+ end
93
+
94
+ def total_size_bytes
95
+ @total_size_bytes ||= uploads.inject(0) { |sum, u| sum + u.upload_file_size }
96
+ end
97
+
98
+ def version_number
99
+ @version_number ||= resource.version_number
100
+ end
101
+
102
+ def uploads
103
+ resource.current_file_uploads
104
+ end
105
+
106
+ def datacite_xml_factory
107
+ @datacite_xml_factory ||= Datacite::Mapping::DataciteXMLFactory.new(doi_value: resource.identifier_value, se_resource_id: resource_id, total_size_bytes: total_size_bytes, version: version_number)
108
+ end
109
+
110
+ def dc4_resource
111
+ @dc4_resource ||= datacite_xml_factory.build_resource
112
+ end
113
+
114
+ def workdir
115
+ @workdir ||= begin
116
+ path = resource.upload_dir
117
+ FileUtils.mkdir_p(path)
118
+ tmpdir = Dir.mktmpdir('uploads', path)
119
+ File.absolute_path(tmpdir)
120
+ end
121
+ end
122
+
123
+ end
124
+ end
125
+ end
@@ -0,0 +1,58 @@
1
+ require 'stash/sword'
2
+
3
+ module Stash
4
+ module Merritt
5
+ class SwordHelper
6
+ attr_reader :logger
7
+ attr_reader :package
8
+
9
+ def initialize(package:, logger: nil)
10
+ @logger = logger
11
+ @package = package
12
+ end
13
+
14
+ def submit!
15
+ if (update_uri = resource.update_uri)
16
+ do_update(update_uri)
17
+ else
18
+ do_create
19
+ end
20
+ resource.version_zipfile = zipfile
21
+ resource.save!
22
+ end
23
+
24
+ private
25
+
26
+ def resource
27
+ package.resource
28
+ end
29
+
30
+ def tenant
31
+ resource.tenant
32
+ end
33
+
34
+ def identifier_str
35
+ resource.identifier_str
36
+ end
37
+
38
+ def zipfile
39
+ package.zipfile
40
+ end
41
+
42
+ def sword_client
43
+ @sword_client ||= Stash::Sword::Client.new(logger: logger, **tenant.sword_params)
44
+ end
45
+
46
+ def do_create
47
+ receipt = sword_client.create(doi: identifier_str, zipfile: zipfile)
48
+ resource.download_uri = receipt.em_iri
49
+ resource.update_uri = receipt.edit_iri
50
+ end
51
+
52
+ def do_update(update_uri)
53
+ sword_client.update(edit_iri: update_uri, zipfile: zipfile)
54
+ end
55
+
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,5 @@
1
+ module Stash
2
+ module Merritt
3
+ Dir.glob(File.expand_path('../merritt/*.rb', __FILE__)).sort.each(&method(:require))
4
+ end
5
+ end
data/lib/stash.rb ADDED
@@ -0,0 +1,5 @@
1
+ require 'logger'
2
+
3
+ module Stash
4
+ Dir.glob(File.expand_path('../stash/*.rb', __FILE__)).sort.each(&method(:require))
5
+ end
data/spec/.rubocop.yml ADDED
@@ -0,0 +1,10 @@
1
+ inherit_from: ../.rubocop.yml
2
+
3
+ Metrics/MethodLength:
4
+ Enabled: false
5
+
6
+ Metrics/ModuleLength:
7
+ Enabled: false
8
+
9
+ Metrics/BlockLength:
10
+ Enabled: false
@@ -0,0 +1,3 @@
1
+ test:
2
+ feedback_email_from: stash-noreply@example.edu
3
+ feedback_email_to: [stash-dev@example.edu, stash-ops@example.edu]
@@ -0,0 +1,7 @@
1
+ # TODO: separate database
2
+ test:
3
+ host: localhost
4
+ adapter: mysql2
5
+ database: stash_merritt
6
+ username: travis
7
+ encoding: utf8mb4
@@ -0,0 +1,18 @@
1
+ # this file has license information starting with an identifier for the license
2
+ # and then uri and name
3
+
4
+ cc0:
5
+ uri: https://creativecommons.org/publicdomain/zero/1.0/
6
+ name: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
7
+ explanation: >
8
+ This releases your work to the public domain for any use.
9
+ badge: icon_cc-zero.svg
10
+
11
+
12
+ cc_by:
13
+ uri: https://creativecommons.org/licenses/by/4.0/
14
+ name: Creative Commons Attribution 4.0 International (CC BY 4.0)
15
+ explanation: >
16
+ This license lets others distribute, modify, and build upon your work, even commercially, as
17
+ long as they credit you for the original creation.
18
+ badge: icon_cc-by.svg
@@ -0,0 +1,121 @@
1
+ <?xml version='1.0'?>
2
+ <resource xsi:schemaLocation='http://datacite.org/schema/kernel-3 http://schema.datacite.org/meta/kernel-3/metadata.xsd' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://datacite.org/schema/kernel-3'>
3
+ <identifier identifierType='DOI'>10.15146/R3RG6G</identifier>
4
+ <creators>
5
+ <creator>
6
+ <creatorName>Chen, Hao</creatorName>
7
+ <nameIdentifier nameIdentifierScheme='ORCID' schemeURI='http://orcid.org/'>0123-4567-8910-1112</nameIdentifier>
8
+ <affiliation>North Carolina Central University</affiliation>
9
+ </creator>
10
+ </creators>
11
+ <titles>
12
+ <title>A Zebrafish Model for Studies on Esophageal Epithelial Biology</title>
13
+ <title titleType='Subtitle'>
14
+ Characterizing a region of stratified squamous epithelium in the zebrafish
15
+ upper digestive tract
16
+ </title>
17
+ </titles>
18
+ <publisher>DataONE</publisher>
19
+ <publicationYear>2016</publicationYear>
20
+ <subjects>
21
+ <subject>Zebrafish</subject>
22
+ <subject>Epithelium</subject>
23
+ <subject>Barrett&apos;s esophagus</subject>
24
+ </subjects>
25
+ <contributors>
26
+ <contributor contributorType='ProjectMember'>
27
+ <contributorName>Chen, Xiaoxin</contributorName>
28
+ <nameIdentifier nameIdentifierScheme='ORCID' schemeURI='http://orcid.org/'>1234-5678-9101-1121</nameIdentifier>
29
+ <affiliation>University of North Carolina at Chapel Hill</affiliation>
30
+ </contributor>
31
+ <contributor contributorType='DataManager'>
32
+ <contributorName>Wilson, James</contributorName>
33
+ </contributor>
34
+ <contributor contributorType="Funder">
35
+ <contributorName>U.S. Environmental Protection Agency</contributorName>
36
+ </contributor>
37
+ <contributor contributorType="Funder">
38
+ <contributorName>
39
+ CYBER-ShARE Center of Excellence National Science Foundation (NSF) CREST grants
40
+ </contributorName>
41
+ </contributor>
42
+ <contributor contributorType="Funder">
43
+ <contributorName>CI-Team Grant</contributorName>
44
+ </contributor>
45
+ </contributors>
46
+ <dates>
47
+ <date dateType='Available'>2015-12-02</date>
48
+ <date dateType='Collected'>2009/2011</date>
49
+ </dates>
50
+ <language>en</language>
51
+ <resourceType resourceTypeGeneral='Dataset'>application/octet-stream</resourceType>
52
+ <alternateIdentifiers>
53
+ <alternateIdentifier alternateIdentifierType='URL'>
54
+ https://oneshare.cdlib.org/xtf/view?docId=dataone/ark%2B%3Dc5146%3Dr3rg6g/mrt-datacite.xml
55
+ </alternateIdentifier>
56
+ </alternateIdentifiers>
57
+ <relatedIdentifiers>
58
+ <relatedIdentifier relationType='IsCitedBy' relatedIdentifierType='DOI'>10.1371/journal.pone.0143878</relatedIdentifier>
59
+ <relatedIdentifier relationType='IsDocumentedBy' relatedIdentifierType='URL'>http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0143878</relatedIdentifier>
60
+ </relatedIdentifiers>
61
+ <sizes>
62
+ <size>3286679 bytes</size>
63
+ </sizes>
64
+ <formats>
65
+ <format>text/plain</format>
66
+ <format>text/application/vnd.openxmlformats-officedocument.wordprocessingml.document</format>
67
+ <format>application/xml</format>
68
+ <format>application/pdf</format>
69
+ </formats>
70
+ <version>1</version>
71
+ <rightsList>
72
+ <rights rightsURI='https://creativecommons.org/publicdomain/zero/1.0/'>CC0 1.0 Universal (CC0 1.0) Public Domain Dedication</rights>
73
+ </rightsList>
74
+ <descriptions>
75
+ <description descriptionType='Abstract'>
76
+ Mammalian esophagus exhibits a remarkable change in epithelial structure
77
+ during the transition from embryo to adult. However, the molecular
78
+ mechanisms of esophageal epithelial development are not well understood.
79
+ Zebrafish (Danio rerio), a common model organism for vertebrate
80
+ development and gene function, has not previously been characterized as a
81
+ model system for esophageal epithelial development. In this study, we
82
+ characterized a piece of non-keratinized stratified squamous epithelium
83
+ similar to human esophageal epithelium in the upper digestive tract of
84
+ developing zebrafish. Under the microscope, this piece was detectable at
85
+ 5dpf and became stratified at 7dpf. Expression of esophageal epithelial
86
+ marker genes (Krt5, P63, Sox2 and Pax9) was detected by
87
+ immunohistochemistry and in situ hybridization. Knockdown of P63, a gene
88
+ known to be critical for esophageal epithelium, disrupted the development
89
+ of this epithelium. With this model system, we found that Pax9 knockdown
90
+ resulted in loss or disorganization of the squamous epithelium, as well as
91
+ down-regulation of the differentiation markers Krt4 and Krt5. In summary,
92
+ we characterized a region of stratified squamous epithelium in the
93
+ zebrafish upper digestive tract which can be used for functional studies
94
+ of candidate genes involved in esophageal epithelial biology.
95
+ </description>
96
+ <description descriptionType='Other'>
97
+ Data were created with funding from U.S. Environmental Protection Agency
98
+ under grant(s) EPA STAR Fellowship 2011.
99
+ </description>
100
+ <description descriptionType='Other'>
101
+ Data were created with funding from CYBER-ShARE Center of Excellence
102
+ National Science Foundation (NSF) CREST grants under grant(s) HRD-0734825
103
+ and HRD-1242122.
104
+ </description>
105
+ <description descriptionType='Other'>
106
+ Data were created with funding from CI-Team Grant under grant(s)
107
+ OCI-1135525.
108
+ </description>
109
+ </descriptions>
110
+ <geoLocations>
111
+ <geoLocation>
112
+ <geoLocationBox>37.046 -119.211 37.075 -119.182</geoLocationBox>
113
+ <geoLocationPlace>Providence Creek (Lower, Upper and P301)</geoLocationPlace>
114
+ </geoLocation>
115
+ <geoLocation>
116
+ <geoLocationPoint>31.233 -67.302</geoLocationPoint>
117
+ <geoLocationBox>41.09 -71.032 42.893 -68.211</geoLocationBox>
118
+ <geoLocationPlace>Atlantic Ocean</geoLocationPlace>
119
+ </geoLocation>
120
+ </geoLocations>
121
+ </resource>
@@ -0,0 +1,32 @@
1
+ #%dataonem_0.1
2
+ #%profile | http://uc3.cdlib.org/registry/ingest/manifest/mrt-dataone-manifest
3
+ #%prefix | dom: | http://uc3.cdlib.org/ontology/dataonem
4
+ #%prefix | mrt: | http://uc3.cdlib.org/ontology/mom
5
+ #%fields | dom:scienceMetadataFile | dom:scienceMetadataFormat | dom:scienceDataFile | mrt:mimeType
6
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | Laney_300394_Exempt_Determination_Letter.pdf | application/pdf
7
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | Laney_300394_Exempt_Determination_Letter.pdf | application/pdf
8
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | Laney_IRBProposal.docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document
9
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | Laney_IRBProposal.docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document
10
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | SensorSurvey_Printout.pdf | application/pdf
11
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | SensorSurvey_Printout.pdf | application/pdf
12
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | clean_survey_data_no_ids.csv | text/csv
13
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | clean_survey_data_no_ids.csv | text/csv
14
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | research_coords.csv | text/csv
15
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | research_coords.csv | text/csv
16
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | survey/Q10/research_sites.R | text/plain
17
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | survey/Q10/research_sites.R | text/plain
18
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | survey/Q11-23/sensors_platforms.R | text/plain
19
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | survey/Q11-23/sensors_platforms.R | text/plain
20
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | survey/Q24/limitsToExpansion.R | text/plain
21
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | survey/Q24/limitsToExpansion.R | text/plain
22
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | survey/Q25-32/data_metadata_management.R | text/plain
23
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | survey/Q25-32/data_metadata_management.R | text/plain
24
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | survey/Q3-9/respondent_info.R | text/plain
25
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | survey/Q3-9/respondent_info.R | text/plain
26
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | survey/Q33-37/networking.R | text/plain
27
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | survey/Q33-37/networking.R | text/plain
28
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | survey/Q38-42/publications.R | text/plain
29
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | survey/Q38-42/publications.R | text/plain
30
+ mrt-datacite.xml | http://datacite.org/schema/kernel-3.1 | survey_data_prep.R | text/plain
31
+ mrt-oaidc.xml | http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd | survey_data_prep.R | text/plain
32
+ #%eof
@@ -0,0 +1,38 @@
1
+ <qualifieddc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xsi:noNamespaceSchemaLocation="http://dublincore.org/schemas/xmls/qdc/2008/02/11/qualifieddc.xsd">
2
+ <dc:creator>Chen, Hao</dc:creator>
3
+ <dc:contributor>Chen, Xiaoxin</dc:contributor>
4
+ <dc:contributor>Wilson, James</dc:contributor>
5
+ <dc:title>A Zebrafish Model for Studies on Esophageal Epithelial Biology</dc:title>
6
+ <dc:publisher>DataONE</dc:publisher>
7
+ <dc:date>2016</dc:date>
8
+ <dc:subject>Zebrafish</dc:subject>
9
+ <dc:subject>Epithelium</dc:subject>
10
+ <dc:subject>Barrett's esophagus</dc:subject>
11
+ <dc:type>dataset</dc:type>
12
+ <dc:rights>CC0 1.0 Universal (CC0 1.0) Public Domain Dedication</dc:rights>
13
+ <dcterms:license xsi:type="dcterms:URI">https://creativecommons.org/publicdomain/zero/1.0/</dcterms:license>
14
+ <dc:description>Mammalian esophagus exhibits a remarkable change in epithelial structure
15
+ during the transition from embryo to adult. However, the molecular
16
+ mechanisms of esophageal epithelial development are not well understood.
17
+ Zebrafish (Danio rerio), a common model organism for vertebrate
18
+ development and gene function, has not previously been characterized as a
19
+ model system for esophageal epithelial development. In this study, we
20
+ characterized a piece of non-keratinized stratified squamous epithelium
21
+ similar to human esophageal epithelium in the upper digestive tract of
22
+ developing zebrafish. Under the microscope, this piece was detectable at
23
+ 5dpf and became stratified at 7dpf. Expression of esophageal epithelial
24
+ marker genes (Krt5, P63, Sox2 and Pax9) was detected by
25
+ immunohistochemistry and in situ hybridization. Knockdown of P63, a gene
26
+ known to be critical for esophageal epithelium, disrupted the development
27
+ of this epithelium. With this model system, we found that Pax9 knockdown
28
+ resulted in loss or disorganization of the squamous epithelium, as well as
29
+ down-regulation of the differentiation markers Krt4 and Krt5. In summary,
30
+ we characterized a region of stratified squamous epithelium in the
31
+ zebrafish upper digestive tract which can be used for functional studies
32
+ of candidate genes involved in esophageal epithelial biology.</dc:description>
33
+ <dc:description>Data were created with funding from U.S. Environmental Protection Agency under grant(s) EPA STAR Fellowship 2011</dc:description>
34
+ <dc:description>Data were created with funding from CYBER-ShARE Center of Excellence National Science Foundation (NSF) CREST grants under grant(s) HRD-0734825 and HRD-1242122</dc:description>
35
+ <dc:description>Data were created with funding from CI-Team Grant under grant(s) OCI-1135525</dc:description>
36
+ <dcterms:isReferencedBy>DOI: 10.1371/journal.pone.0143878</dcterms:isReferencedBy>
37
+ <dcterms:relation>URL: http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0143878</dcterms:relation>
38
+ </qualifieddc>
@@ -0,0 +1,213 @@
1
+ <?xml version='1.0'?>
2
+ <st:stash_wrapper xsi:schemaLocation='http://dash.cdlib.org/stash_wrapper/ http://dash.cdlib.org/stash_wrapper/stash_wrapper.xsd' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:st='http://dash.cdlib.org/stash_wrapper/'>
3
+ <st:identifier type='DOI'>10.15146/R3RG6G</st:identifier>
4
+ <st:stash_administrative>
5
+ <st:version>
6
+ <st:version_number>1</st:version_number>
7
+ <st:date>2015-08-17Z</st:date>
8
+ </st:version>
9
+ <st:license>
10
+ <st:name>CC0 1.0 Universal (CC0 1.0) Public Domain Dedication</st:name>
11
+ <st:uri>https://creativecommons.org/publicdomain/zero/1.0/</st:uri>
12
+ </st:license>
13
+ <st:embargo>
14
+ <st:type>none</st:type>
15
+ <st:period>none</st:period>
16
+ <st:start>2015-12-02Z</st:start>
17
+ <st:end>2015-12-02Z</st:end>
18
+ </st:embargo>
19
+ <st:inventory num_files='13'>
20
+ <st:file>
21
+ <st:pathname>survey/Q11-23/sensors_platforms.R</st:pathname>
22
+ <st:size unit='B'>26414</st:size>
23
+ <st:mime_type>text/plain</st:mime_type>
24
+ </st:file>
25
+ <st:file>
26
+ <st:pathname>survey/Q25-32/data_metadata_management.R</st:pathname>
27
+ <st:size unit='B'>9794</st:size>
28
+ <st:mime_type>text/plain</st:mime_type>
29
+ </st:file>
30
+ <st:file>
31
+ <st:pathname>survey/Q10/research_sites.R</st:pathname>
32
+ <st:size unit='B'>1180</st:size>
33
+ <st:mime_type>text/plain</st:mime_type>
34
+ </st:file>
35
+ <st:file>
36
+ <st:pathname>clean_survey_data_no_ids.csv</st:pathname>
37
+ <st:size unit='B'>320890</st:size>
38
+ <st:mime_type>text/csv</st:mime_type>
39
+ </st:file>
40
+ <st:file>
41
+ <st:pathname>survey/Q3-9/respondent_info.R</st:pathname>
42
+ <st:size unit='B'>13784</st:size>
43
+ <st:mime_type>text/plain</st:mime_type>
44
+ </st:file>
45
+ <st:file>
46
+ <st:pathname>Laney_IRBProposal.docx</st:pathname>
47
+ <st:size unit='B'>1097848</st:size>
48
+ <st:mime_type>application/vnd.openxmlformats-officedocument.wordprocessingml.document</st:mime_type>
49
+ </st:file>
50
+ <st:file>
51
+ <st:pathname>survey_data_prep.R</st:pathname>
52
+ <st:size unit='B'>4359</st:size>
53
+ <st:mime_type>text/plain</st:mime_type>
54
+ </st:file>
55
+ <st:file>
56
+ <st:pathname>research_coords.csv</st:pathname>
57
+ <st:size unit='B'>5827</st:size>
58
+ <st:mime_type>text/csv</st:mime_type>
59
+ </st:file>
60
+ <st:file>
61
+ <st:pathname>Laney_300394_Exempt_Determination_Letter.pdf</st:pathname>
62
+ <st:size unit='B'>42686</st:size>
63
+ <st:mime_type>application/pdf</st:mime_type>
64
+ </st:file>
65
+ <st:file>
66
+ <st:pathname>survey/Q33-37/networking.R</st:pathname>
67
+ <st:size unit='B'>22658</st:size>
68
+ <st:mime_type>text/plain</st:mime_type>
69
+ </st:file>
70
+ <st:file>
71
+ <st:pathname>SensorSurvey_Printout.pdf</st:pathname>
72
+ <st:size unit='B'>1728537</st:size>
73
+ <st:mime_type>application/pdf</st:mime_type>
74
+ </st:file>
75
+ <st:file>
76
+ <st:pathname>survey/Q24/limitsToExpansion.R</st:pathname>
77
+ <st:size unit='B'>11012</st:size>
78
+ <st:mime_type>text/plain</st:mime_type>
79
+ </st:file>
80
+ <st:file>
81
+ <st:pathname>survey/Q38-42/publications.R</st:pathname>
82
+ <st:size unit='B'>1690</st:size>
83
+ <st:mime_type>text/plain</st:mime_type>
84
+ </st:file>
85
+ </st:inventory>
86
+ </st:stash_administrative>
87
+ <st:stash_descriptive>
88
+ <resource xsi:schemaLocation='http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4/metadata.xsd' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns='http://datacite.org/schema/kernel-4'>
89
+ <identifier identifierType='DOI'>10.15146/R3RG6G</identifier>
90
+ <creators>
91
+ <creator>
92
+ <creatorName>Chen, Hao</creatorName>
93
+ <nameIdentifier nameIdentifierScheme='ORCID' schemeURI='http://orcid.org/'>0123-4567-8910-1112</nameIdentifier>
94
+ <affiliation>North Carolina Central University</affiliation>
95
+ </creator>
96
+ </creators>
97
+ <titles>
98
+ <title>A Zebrafish Model for Studies on Esophageal Epithelial Biology</title>
99
+ <title titleType='Subtitle'>
100
+ Characterizing a region of stratified squamous epithelium in the
101
+ zebrafish upper digestive tract
102
+ </title>
103
+ </titles>
104
+ <publisher>DataONE</publisher>
105
+ <publicationYear>2016</publicationYear>
106
+ <subjects>
107
+ <subject>Zebrafish</subject>
108
+ <subject>Epithelium</subject>
109
+ <subject>Barrett&apos;s esophagus</subject>
110
+ </subjects>
111
+ <fundingReferences>
112
+ <fundingReference>
113
+ <funderName>U.S. Environmental Protection Agency</funderName>
114
+ <awardNumber>EPA STAR Fellowship 2011</awardNumber>
115
+ </fundingReference>
116
+ <fundingReference>
117
+ <funderName>CYBER-ShARE Center of Excellence National Science Foundation (NSF) CREST grants</funderName>
118
+ <awardNumber>HRD-0734825 and HRD-1242122</awardNumber>
119
+ </fundingReference>
120
+ <fundingReference>
121
+ <funderName>CI-Team Grant</funderName>
122
+ <awardNumber>OCI-1135525</awardNumber>
123
+ </fundingReference>
124
+ </fundingReferences>
125
+ <contributors>
126
+ <contributor contributorType='ProjectMember'>
127
+ <contributorName>Chen, Xiaoxin</contributorName>
128
+ <nameIdentifier nameIdentifierScheme='ORCID' schemeURI='http://orcid.org/'>1234-5678-9101-1121</nameIdentifier>
129
+ <affiliation>University of North Carolina at Chapel Hill</affiliation>
130
+ </contributor>
131
+ <contributor contributorType='DataManager'>
132
+ <contributorName>Wilson, James</contributorName>
133
+ </contributor>
134
+ </contributors>
135
+ <dates>
136
+ <date dateType='Available'>2015-12-02</date>
137
+ <date dateType='Collected'>2009/2011</date>
138
+ </dates>
139
+ <language>en</language>
140
+ <resourceType resourceTypeGeneral='Dataset'>application/octet-stream</resourceType>
141
+ <alternateIdentifiers>
142
+ <alternateIdentifier alternateIdentifierType='URL'>
143
+ https://oneshare.cdlib.org/xtf/view?docId=dataone/ark%2B%3Dc5146%3Dr3rg6g/mrt-datacite.xml
144
+ </alternateIdentifier>
145
+ </alternateIdentifiers>
146
+ <relatedIdentifiers>
147
+ <relatedIdentifier relationType='IsCitedBy' relatedIdentifierType='DOI'>10.1371/journal.pone.0143878 </relatedIdentifier>
148
+ <relatedIdentifier relationType='IsDocumentedBy' relatedIdentifierType='URL'> http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0143878 </relatedIdentifier>
149
+ </relatedIdentifiers>
150
+ <sizes>
151
+ <size>3286679 bytes</size>
152
+ </sizes>
153
+ <formats>
154
+ <format>text/plain</format>
155
+ <format>text/application/vnd.openxmlformats-officedocument.wordprocessingml.document</format>
156
+ <format>application/xml</format>
157
+ <format>application/pdf</format>
158
+ </formats>
159
+ <version>1</version>
160
+ <rightsList>
161
+ <rights rightsURI='https://creativecommons.org/publicdomain/zero/1.0/'>CC0 1.0 Universal (CC0 1.0) Public Domain Dedication</rights>
162
+ </rightsList>
163
+ <descriptions>
164
+ <description descriptionType='Abstract'>
165
+ Mammalian esophagus exhibits a remarkable change in epithelial
166
+ structure during the transition from embryo to adult. However, the
167
+ molecular mechanisms of esophageal epithelial development are not well
168
+ understood. Zebrafish (Danio rerio), a common model organism for
169
+ vertebrate development and gene function, has not previously been
170
+ characterized as a model system for esophageal epithelial development.
171
+ In this study, we characterized a piece of non-keratinized stratified
172
+ squamous epithelium similar to human esophageal epithelium in the
173
+ upper digestive tract of developing zebrafish. Under the microscope,
174
+ this piece was detectable at 5dpf and became stratified at 7dpf.
175
+ Expression of esophageal epithelial marker genes (Krt5, P63, Sox2 and
176
+ Pax9) was detected by immunohistochemistry and in situ hybridization.
177
+ Knockdown of P63, a gene known to be critical for esophageal
178
+ epithelium, disrupted the development of this epithelium. With this
179
+ model system, we found that Pax9 knockdown resulted in loss or
180
+ disorganization of the squamous epithelium, as well as down-regulation
181
+ of the differentiation markers Krt4 and Krt5. In summary, we
182
+ characterized a region of stratified squamous epithelium in the
183
+ zebrafish upper digestive tract which can be used for functional
184
+ studies of candidate genes involved in esophageal epithelial biology.
185
+ </description>
186
+ </descriptions>
187
+ <geoLocations>
188
+ <geoLocation>
189
+ <geoLocationBox>
190
+ <westBoundLongitude>-119.211</westBoundLongitude>
191
+ <eastBoundLongitude>-119.182</eastBoundLongitude>
192
+ <southBoundLatitude>37.046</southBoundLatitude>
193
+ <northBoundLatitude>37.075</northBoundLatitude>
194
+ </geoLocationBox>
195
+ <geoLocationPlace>Providence Creek (Lower, Upper and P301)</geoLocationPlace>
196
+ </geoLocation>
197
+ <geoLocation>
198
+ <geoLocationPoint>
199
+ <pointLatitude>31.233</pointLatitude>
200
+ <pointLongitude>-67.302</pointLongitude>
201
+ </geoLocationPoint>
202
+ <geoLocationBox>
203
+ <westBoundLongitude>-71.032</westBoundLongitude>
204
+ <eastBoundLongitude>-68.211</eastBoundLongitude>
205
+ <southBoundLatitude>41.09</southBoundLatitude>
206
+ <northBoundLatitude>42.893</northBoundLatitude>
207
+ </geoLocationBox>
208
+ <geoLocationPlace>Atlantic Ocean</geoLocationPlace>
209
+ </geoLocation>
210
+ </geoLocations>
211
+ </resource>
212
+ </st:stash_descriptive>
213
+ </st:stash_wrapper>
Binary file