ena-upload-cli 0.8.0__tar.gz → 0.9.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. {ena_upload_cli-0.8.0/ena_upload_cli.egg-info → ena_upload_cli-0.9.0}/PKG-INFO +9 -2
  2. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/README.md +6 -0
  3. ena_upload_cli-0.9.0/ena_upload/_version.py +1 -0
  4. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/ena_upload.py +6 -6
  5. ena_upload_cli-0.9.0/ena_upload/templates/ENA_template_FASTQFILE.xml +37 -0
  6. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_runs.xml +2 -13
  7. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/SRA.experiment.xsd +10 -2
  8. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0/ena_upload_cli.egg-info}/PKG-INFO +9 -2
  9. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload_cli.egg-info/SOURCES.txt +1 -0
  10. ena_upload_cli-0.9.0/requirements.txt +8 -0
  11. ena_upload_cli-0.8.0/ena_upload/_version.py +0 -1
  12. ena_upload_cli-0.8.0/requirements.txt +0 -9
  13. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/LICENSE +0 -0
  14. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/MANIFEST.in +0 -0
  15. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/__init__.py +0 -0
  16. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/check_remote.py +0 -0
  17. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/__init__.py +0 -0
  18. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/characteristic.py +0 -0
  19. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/ena_experiment.py +0 -0
  20. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/ena_run.py +0 -0
  21. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/ena_sample.py +0 -0
  22. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/ena_std_lib.py +0 -0
  23. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/ena_study.py +0 -0
  24. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/ena_submission.py +0 -0
  25. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/assay_schema.json +0 -0
  26. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/comment_schema.json +0 -0
  27. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/data_schema.json +0 -0
  28. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/factor_schema.json +0 -0
  29. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/factor_value_schema.json +0 -0
  30. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/investigation_schema.json +0 -0
  31. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/material_attribute_schema.json +0 -0
  32. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/material_attribute_value_schema.json +0 -0
  33. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/material_schema.json +0 -0
  34. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/ontology_annotation_schema.json +0 -0
  35. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/ontology_source_reference_schema.json +0 -0
  36. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/organization_schema.json +0 -0
  37. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/person_schema.json +0 -0
  38. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/process_parameter_value_schema.json +0 -0
  39. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/process_schema.json +0 -0
  40. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/protocol_parameter_schema.json +0 -0
  41. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/protocol_schema.json +0 -0
  42. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/publication_schema.json +0 -0
  43. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/sample_schema.json +0 -0
  44. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/source_schema.json +0 -0
  45. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/json_schemas/study_schema.json +0 -0
  46. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/json_parsing/other_material.py +0 -0
  47. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA.project.xsd +0 -0
  48. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_FILE.xml +0 -0
  49. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_LIBRARY_SELECTION.xml +0 -0
  50. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_LIBRARY_SOURCE.xml +0 -0
  51. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_LIBRARY_STRATEGY.xml +0 -0
  52. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_PLATFORM.xml +0 -0
  53. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_READ_TYPE.xml +0 -0
  54. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_experiments.xml +0 -0
  55. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000011.xml +0 -0
  56. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000012.xml +0 -0
  57. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000013.xml +0 -0
  58. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000014.xml +0 -0
  59. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000015.xml +0 -0
  60. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000016.xml +0 -0
  61. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000017.xml +0 -0
  62. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000018.xml +0 -0
  63. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000019.xml +0 -0
  64. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000020.xml +0 -0
  65. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000021.xml +0 -0
  66. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000022.xml +0 -0
  67. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000023.xml +0 -0
  68. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000024.xml +0 -0
  69. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000025.xml +0 -0
  70. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000027.xml +0 -0
  71. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000028.xml +0 -0
  72. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000029.xml +0 -0
  73. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000030.xml +0 -0
  74. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000031.xml +0 -0
  75. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000032.xml +0 -0
  76. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000033.xml +0 -0
  77. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000034.xml +0 -0
  78. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000035.xml +0 -0
  79. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000036.xml +0 -0
  80. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000037.xml +0 -0
  81. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000038.xml +0 -0
  82. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000039.xml +0 -0
  83. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000040.xml +0 -0
  84. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000041.xml +0 -0
  85. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000043.xml +0 -0
  86. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000044.xml +0 -0
  87. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000045.xml +0 -0
  88. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000047.xml +0 -0
  89. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000048.xml +0 -0
  90. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000049.xml +0 -0
  91. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000050.xml +0 -0
  92. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000051.xml +0 -0
  93. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000052.xml +0 -0
  94. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000053.xml +0 -0
  95. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000055.xml +0 -0
  96. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000056.xml +0 -0
  97. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000057.xml +0 -0
  98. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_samples_ERC000058.xml +0 -0
  99. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_studies.xml +0 -0
  100. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/ENA_template_submission.xml +0 -0
  101. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/SRA.common.xsd +0 -0
  102. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/SRA.run.xsd +0 -0
  103. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/SRA.sample.xsd +0 -0
  104. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/SRA.study.xsd +0 -0
  105. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload/templates/SRA.submission.xsd +0 -0
  106. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload_cli.egg-info/dependency_links.txt +0 -0
  107. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload_cli.egg-info/entry_points.txt +0 -0
  108. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload_cli.egg-info/requires.txt +0 -0
  109. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/ena_upload_cli.egg-info/top_level.txt +0 -0
  110. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/setup.cfg +0 -0
  111. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/setup.py +0 -0
  112. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/tests/__init__.py +0 -0
  113. {ena_upload_cli-0.8.0 → ena_upload_cli-0.9.0}/tests/test_ena_objects.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: ena-upload-cli
3
- Version: 0.8.0
3
+ Version: 0.9.0
4
4
  Summary: Command Line Interface to upload data to the European Nucleotide Archive
5
5
  Home-page: https://github.com/usegalaxy-eu/ena-upload-cli
6
6
  Author: Dilmurat Yusuf
@@ -27,6 +27,7 @@ Dynamic: description-content-type
27
27
  Dynamic: home-page
28
28
  Dynamic: keywords
29
29
  Dynamic: license
30
+ Dynamic: license-file
30
31
  Dynamic: requires-dist
31
32
  Dynamic: requires-python
32
33
  Dynamic: summary
@@ -161,6 +162,12 @@ Please check out the [template](https://github.com/ELIXIR-Belgium/ENA-metadata-t
161
162
  #### Read info run attributes
162
163
 
163
164
  Using `read_type` and `read_label` as header in the columns of ENA run objects will allow you to set information about reads. Values are listed in a comma separated way, without spaces. `read_type` has a controlled vocabulary, which can be found in the [ENA Documentation](https://ena-docs.readthedocs.io/en/latest/submit/reads/webin-cli.html#json-manifest-file-format). An example tsv file using these attributes can be found in [example_tables/ENA_template_runs_read_info.tsv](/example_tables/ENA_template_runs_read_info.tsv). The same syntax is also applicable for xlsx input files.
165
+ This feature is currently limited to FastQ files.
166
+
167
+ #### Encrypted files
168
+
169
+ When transferring encrypted files, an additional `unencrypted_checksum` column can be added in the run table. This column should contain the md5 checksum of the unencrypted file, and note that no check is performed on this value.
170
+ This feature is currently limited to FastQ files.
164
171
 
165
172
  #### Study and experiment custom attributes
166
173
 
@@ -128,6 +128,12 @@ Please check out the [template](https://github.com/ELIXIR-Belgium/ENA-metadata-t
128
128
  #### Read info run attributes
129
129
 
130
130
  Using `read_type` and `read_label` as header in the columns of ENA run objects will allow you to set information about reads. Values are listed in a comma separated way, without spaces. `read_type` has a controlled vocabulary, which can be found in the [ENA Documentation](https://ena-docs.readthedocs.io/en/latest/submit/reads/webin-cli.html#json-manifest-file-format). An example tsv file using these attributes can be found in [example_tables/ENA_template_runs_read_info.tsv](/example_tables/ENA_template_runs_read_info.tsv). The same syntax is also applicable for xlsx input files.
131
+ This feature is currently limited to FastQ files.
132
+
133
+ #### Encrypted files
134
+
135
+ When transferring encrypted files, an additional `unencrypted_checksum` column can be added in the run table. This column should contain the md5 checksum of the unencrypted file, and note that no check is performed on this value.
136
+ This feature is currently limited to FastQ files.
131
137
 
132
138
  #### Study and experiment custom attributes
133
139
 
@@ -0,0 +1 @@
1
+ __version__ = "0.9.0"
@@ -235,6 +235,8 @@ def generate_stream(schema, targets, Template, center, tool):
235
235
  file_attrib.append('read_type')
236
236
  if 'read_label' in targets:
237
237
  file_attrib.append('read_label')
238
+ if 'unencrypted_checksum' in targets:
239
+ file_attrib.append('unencrypted_checksum')
238
240
 
239
241
  other_attrib = ['alias', 'experiment_alias']
240
242
  # Create groups with alias as index
@@ -702,10 +704,8 @@ def process_args():
702
704
  parser = argparse.ArgumentParser(prog='ena-upoad-cli',
703
705
  description='''The program makes submission
704
706
  of data and respective metadata to European
705
- Nucleotide Archive (ENA). The metadate
706
- should be provided in separate tables
707
- corresponding the ENA objects -- STUDY,
708
- SAMPLE, EXPERIMENT and RUN.''',
707
+ Nucleotide Archive (ENA) easy. The metadata
708
+ can be provided in a xlsx spreadsheet or tsv tables.''',
709
709
  formatter_class=SmartFormatter)
710
710
  parser.add_argument('--version', action='version',
711
711
  version='%(prog)s '+__version__)
@@ -1040,9 +1040,9 @@ def main():
1040
1040
  print("No submission will be performed, remove `--draft' argument to perform submission.")
1041
1041
  else:
1042
1042
  if dev:
1043
- url = 'https://wwwdev.ebi.ac.uk/ena/submit/drop-box/submit/?auth=ENA'
1043
+ url = 'https://wwwdev.ebi.ac.uk/ena/submit/drop-box/submit/'
1044
1044
  else:
1045
- url = 'https://www.ebi.ac.uk/ena/submit/drop-box/submit/?auth=ENA'
1045
+ url = 'https://www.ebi.ac.uk/ena/submit/drop-box/submit/'
1046
1046
 
1047
1047
  print(f'\nSubmitting XMLs to ENA server: {url}')
1048
1048
  receipt = send_schemas(schema_xmls, url, webin_id, password).text
@@ -0,0 +1,37 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <?python
3
+ import pandas as pd
4
+ def attributetest(row, column):
5
+ if hasattr(row, column) and pd.notna(row[column]) and not str(row[column]).isspace():
6
+ return True
7
+ ?>
8
+ <py:choose xmlns:py="http://genshi.edgewall.org/" test="" xmlns:xi="http://www.w3.org/2001/XInclude">
9
+ <py:when test="attributetest(row, 'unencrypted_checksum')">
10
+ <FILE filename="${row.file_name}" filetype="fastq" checksum_method="MD5" checksum="${row.file_checksum}" unencrypted_checksum="${row.unencrypted_checksum}">
11
+ <py:if test="attributetest(row, 'read_label')">
12
+ <py:for each="rlabel in row.read_label.split(',')">
13
+ <READ_LABEL>${rlabel.strip()}</READ_LABEL>
14
+ </py:for>
15
+ </py:if>
16
+ <py:if test="attributetest(row, 'read_type')">
17
+ <py:for each="rtype in row.read_type.split(',')">
18
+ <xi:include href="ENA_template_READ_TYPE.xml" />
19
+ </py:for>
20
+ </py:if>
21
+ </FILE>
22
+ </py:when>
23
+ <py:otherwise>
24
+ <FILE filename="${row.file_name}" filetype="fastq" checksum_method="MD5" checksum="${row.file_checksum}">
25
+ <py:if test="attributetest(row, 'read_label')">
26
+ <py:for each="rlabel in row.read_label.split(',')">
27
+ <READ_LABEL>${rlabel.strip()}</READ_LABEL>
28
+ </py:for>
29
+ </py:if>
30
+ <py:if test="attributetest(row, 'read_type')">
31
+ <py:for each="rtype in row.read_type.split(',')">
32
+ <xi:include href="ENA_template_READ_TYPE.xml" />
33
+ </py:for>
34
+ </py:if>
35
+ </FILE>
36
+ </py:otherwise>
37
+ </py:choose>
@@ -24,19 +24,8 @@ def mandatorytest(row, column, index):
24
24
  <py:for each="index, row in file_groups.get_group(alias).iterrows()">
25
25
  <py:if test="mandatorytest(row, 'file_type', index)">
26
26
  <py:choose xmlns:py="http://genshi.edgewall.org/" test="">
27
- <py:when test="row.file_type.lower().strip() == 'fastq'">
28
- <FILE filename="${row.file_name}" filetype="fastq" checksum_method="MD5" checksum="${row.file_checksum}">
29
- <py:if test="attributetest(row, 'read_label')">
30
- <py:for each="rlabel in row.read_label.split(',')">
31
- <READ_LABEL>${rlabel.strip()}</READ_LABEL>
32
- </py:for>
33
- </py:if>
34
- <py:if test="attributetest(row, 'read_type')">
35
- <py:for each="rtype in row.read_type.split(',')">
36
- <xi:include href="ENA_template_READ_TYPE.xml" />
37
- </py:for>
38
- </py:if>
39
- </FILE>
27
+ <py:when test="row.file_type.lower().strip() == 'fastq'">
28
+ <xi:include href="ENA_template_FASTQFILE.xml" />
40
29
  </py:when>
41
30
  <py:otherwise>
42
31
  <xi:include href="ENA_template_FILE.xml" />
@@ -92,7 +92,11 @@
92
92
  <xs:documentation> Random sequencing of a whole chromosome or other replicon isolated from a genome. </xs:documentation>
93
93
  </xs:annotation>
94
94
  </xs:enumeration>
95
- <xs:enumeration value="RAD-Seq"/>
95
+ <xs:enumeration value="RAD-Seq">
96
+ <xs:annotation>
97
+ <xs:documentation> Restriction site associated DNA marker. </xs:documentation>
98
+ </xs:annotation>
99
+ </xs:enumeration>
96
100
  <xs:enumeration value="CLONE">
97
101
  <xs:annotation>
98
102
  <xs:documentation> Genomic clone based (hierarchical) sequencing. </xs:documentation>
@@ -202,7 +206,11 @@
202
206
  <xs:documentation>Enrichment of a targeted subset of loci.</xs:documentation>
203
207
  </xs:annotation>
204
208
  </xs:enumeration>
205
- <xs:enumeration value="Tethered Chromatin Conformation Capture"/>
209
+ <xs:enumeration value="Tethered Chromatin Conformation Capture">
210
+ <xs:annotation>
211
+ <xs:documentation> Tethered Chromatin Conformation Capture. </xs:documentation>
212
+ </xs:annotation>
213
+ </xs:enumeration>
206
214
  <xs:enumeration value="NOMe-Seq">
207
215
  <xs:annotation>
208
216
  <xs:documentation>Nucleosome Occupancy and Methylome sequencing.</xs:documentation>
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: ena-upload-cli
3
- Version: 0.8.0
3
+ Version: 0.9.0
4
4
  Summary: Command Line Interface to upload data to the European Nucleotide Archive
5
5
  Home-page: https://github.com/usegalaxy-eu/ena-upload-cli
6
6
  Author: Dilmurat Yusuf
@@ -27,6 +27,7 @@ Dynamic: description-content-type
27
27
  Dynamic: home-page
28
28
  Dynamic: keywords
29
29
  Dynamic: license
30
+ Dynamic: license-file
30
31
  Dynamic: requires-dist
31
32
  Dynamic: requires-python
32
33
  Dynamic: summary
@@ -161,6 +162,12 @@ Please check out the [template](https://github.com/ELIXIR-Belgium/ENA-metadata-t
161
162
  #### Read info run attributes
162
163
 
163
164
  Using `read_type` and `read_label` as header in the columns of ENA run objects will allow you to set information about reads. Values are listed in a comma separated way, without spaces. `read_type` has a controlled vocabulary, which can be found in the [ENA Documentation](https://ena-docs.readthedocs.io/en/latest/submit/reads/webin-cli.html#json-manifest-file-format). An example tsv file using these attributes can be found in [example_tables/ENA_template_runs_read_info.tsv](/example_tables/ENA_template_runs_read_info.tsv). The same syntax is also applicable for xlsx input files.
165
+ This feature is currently limited to FastQ files.
166
+
167
+ #### Encrypted files
168
+
169
+ When transferring encrypted files, an additional `unencrypted_checksum` column can be added in the run table. This column should contain the md5 checksum of the unencrypted file, and note that no check is performed on this value.
170
+ This feature is currently limited to FastQ files.
164
171
 
165
172
  #### Study and experiment custom attributes
166
173
 
@@ -38,6 +38,7 @@ ena_upload/json_parsing/json_schemas/sample_schema.json
38
38
  ena_upload/json_parsing/json_schemas/source_schema.json
39
39
  ena_upload/json_parsing/json_schemas/study_schema.json
40
40
  ena_upload/templates/ENA.project.xsd
41
+ ena_upload/templates/ENA_template_FASTQFILE.xml
41
42
  ena_upload/templates/ENA_template_FILE.xml
42
43
  ena_upload/templates/ENA_template_LIBRARY_SELECTION.xml
43
44
  ena_upload/templates/ENA_template_LIBRARY_SOURCE.xml
@@ -0,0 +1,8 @@
1
+ genshi==0.7.*
2
+ lxml==5.3.0
3
+ pandas>=2.0.3 , <= 3.0.0
4
+ pyyaml==6.0.*
5
+ requests>=2.31.0 , <= 3.0.0
6
+ openpyxl>=3.1.2 , <= 4.0.0
7
+ jsonschema>=4.19.1
8
+ pytest==7.4.*
@@ -1 +0,0 @@
1
- __version__ = "0.8.0"
@@ -1,9 +0,0 @@
1
- genshi==0.7.*
2
- lxml==5.3.0
3
- pandas>=2.0.3 , <= 3.0.0
4
- # pyyaml set to v5.3.* to prevent problems with setuptools upon installation, as described here: https://github.com/yaml/pyyaml/issues/723#issuecomment-1638560401
5
- pyyaml==6.0.*
6
- requests>=2.31.0 , <= 3.0.0
7
- openpyxl>=3.1.2 , <= 4.0.0
8
- jsonschema>=4.19.1
9
- pytest==7.4.*
File without changes
File without changes
File without changes