ebi-eva-common-pyutils 0.8.0__py3-none-any.whl → 0.8.1__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ebi_eva_common_pyutils
3
- Version: 0.8.0
3
+ Version: 0.8.1
4
4
  Summary: EBI EVA - Common Python Utilities
5
5
  Home-page: https://github.com/EBIVariation/eva-common-pyutils
6
6
  License: Apache
@@ -22,18 +22,18 @@ ebi_eva_common_pyutils/taxonomy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
22
22
  ebi_eva_common_pyutils/taxonomy/taxonomy.py,sha256=aXmRQ3NAaJotwmmOA2-u2XtcUT6iih-0_e-3QOxynoA,2578
23
23
  ebi_eva_common_pyutils/variation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  ebi_eva_common_pyutils/variation/contig_utils.py,sha256=kMNEW_P2yPnd8Xx1tep19hy5ee7ojxz6ZOO1grTQsRQ,5230
25
- ebi_eva_common_pyutils-0.8.0.data/scripts/archive_directory.py,sha256=0lWJ0ju_AB2ni7lMnJXPFx6U2OdTGbe-WoQs-4BfKOM,4976
25
+ ebi_eva_common_pyutils-0.8.1.data/scripts/archive_directory.py,sha256=0lWJ0ju_AB2ni7lMnJXPFx6U2OdTGbe-WoQs-4BfKOM,4976
26
26
  ebi_eva_internal_pyutils/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
27
27
  ebi_eva_internal_pyutils/archive_directory.py,sha256=IxVEfh_gaCiT652k0Q_-58fonRusy1yzXu7BCO8yVLo,4989
28
28
  ebi_eva_internal_pyutils/config_utils.py,sha256=EGRC5rsmU_ug7OY9-t1UW1XZXRsauSyZB9xPcBux8ts,7909
29
29
  ebi_eva_internal_pyutils/metadata_utils.py,sha256=t9PcXZdbfjDBP04GJenC4bxm2nOLd8oI_MP9eNe9IBQ,15221
30
30
  ebi_eva_internal_pyutils/mongo_utils.py,sha256=YxKHtb5ygDiGLOtEiiAMFCP2ow6FL9Kq0K5R0mWNdXY,3575
31
31
  ebi_eva_internal_pyutils/pg_utils.py,sha256=FUQVwiX_7F2-4sSzoaCVX2me0zAqR8nGIj6NW5d304A,4398
32
- ebi_eva_internal_pyutils/spring_properties.py,sha256=Tn207DmZehFt7oExseNsXFAnsxr7bX9yiGl4t9mpGVA,15165
32
+ ebi_eva_internal_pyutils/spring_properties.py,sha256=on67qAz2GzVr9zl3E6wOhqWDScPFQrJERoQzynjW0TU,15181
33
33
  ebi_eva_internal_pyutils/mongodb/__init__.py,sha256=cH89mspotx2u8XxvpaDjjLCaSQqE8-8cCd11s2LMvpg,74
34
34
  ebi_eva_internal_pyutils/mongodb/mongo_database.py,sha256=P6_PR9_KICxafypM1hESxkOJI52T098ynNUML2FzJac,9668
35
- ebi_eva_common_pyutils-0.8.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
36
- ebi_eva_common_pyutils-0.8.0.dist-info/METADATA,sha256=HI0gRr-e_clv_BenWgJWkHVIBSR5l4uq3i-iMarOjhk,1022
37
- ebi_eva_common_pyutils-0.8.0.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
38
- ebi_eva_common_pyutils-0.8.0.dist-info/top_level.txt,sha256=sXoiqiGU8vlMQpFWDlKrekxhlusk06AhkOH3kSvDT6c,48
39
- ebi_eva_common_pyutils-0.8.0.dist-info/RECORD,,
35
+ ebi_eva_common_pyutils-0.8.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
36
+ ebi_eva_common_pyutils-0.8.1.dist-info/METADATA,sha256=MqbS8fd8giBoGXVm39K3Nmvxrm62Mrxl40FzX9PiRF8,1022
37
+ ebi_eva_common_pyutils-0.8.1.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
38
+ ebi_eva_common_pyutils-0.8.1.dist-info/top_level.txt,sha256=sXoiqiGU8vlMQpFWDlKrekxhlusk06AhkOH3kSvDT6c,48
39
+ ebi_eva_common_pyutils-0.8.1.dist-info/RECORD,,
@@ -132,16 +132,16 @@ class SpringPropertiesGenerator:
132
132
  merge = {**self._common_accessioning_properties(assembly_accession, read_preference, chunk_size), **props}
133
133
  return merge
134
134
 
135
- def get_accessioning_properties(self, *, target_assembly=None, fasta=None, assembly_report=None,
136
- project_accession=None, aggregation='BASIC', taxonomy_accession=None,
137
- vcf_file='', output_vcf='', chunk_size=100):
135
+ def get_accessioning_properties(self, *, read_preference='primary', job_name=None, target_assembly=None, fasta=None,
136
+ assembly_report=None, project_accession=None, aggregation='BASIC',
137
+ taxonomy_accession=None, vcf_file='', output_vcf='', chunk_size=100):
138
138
  """Properties for accessioning pipeline."""
139
139
  return self._format(
140
140
  self._common_accessioning_clustering_properties(assembly_accession=target_assembly,
141
- read_preference='secondaryPreferred',
141
+ read_preference=read_preference,
142
142
  chunk_size=chunk_size),
143
143
  {
144
- 'spring.batch.job.names': 'CREATE_SUBSNP_ACCESSION_JOB',
144
+ 'spring.batch.job.names': job_name,
145
145
  'parameters.assemblyReportUrl': self._format_str('file:{0}', assembly_report),
146
146
  'parameters.contigNaming': 'NO_REPLACEMENT',
147
147
  'parameters.fasta': fasta,