ebi-eva-common-pyutils 0.6.6__py3-none-any.whl → 0.6.7__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.
- {ebi_eva_common_pyutils-0.6.6.dist-info → ebi_eva_common_pyutils-0.6.7.dist-info}/METADATA +1 -1
- {ebi_eva_common_pyutils-0.6.6.dist-info → ebi_eva_common_pyutils-0.6.7.dist-info}/RECORD +7 -7
- ebi_eva_internal_pyutils/spring_properties.py +10 -10
- {ebi_eva_common_pyutils-0.6.6.data → ebi_eva_common_pyutils-0.6.7.data}/scripts/archive_directory.py +0 -0
- {ebi_eva_common_pyutils-0.6.6.dist-info → ebi_eva_common_pyutils-0.6.7.dist-info}/LICENSE +0 -0
- {ebi_eva_common_pyutils-0.6.6.dist-info → ebi_eva_common_pyutils-0.6.7.dist-info}/WHEEL +0 -0
- {ebi_eva_common_pyutils-0.6.6.dist-info → ebi_eva_common_pyutils-0.6.7.dist-info}/top_level.txt +0 -0
|
@@ -19,20 +19,20 @@ ebi_eva_common_pyutils/taxonomy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
|
|
|
19
19
|
ebi_eva_common_pyutils/taxonomy/taxonomy.py,sha256=p3XV4g3y0hEjyeZ4PwgN7Q3Et9G515ctQkSIo1kdDbU,2259
|
|
20
20
|
ebi_eva_common_pyutils/variation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
ebi_eva_common_pyutils/variation/contig_utils.py,sha256=kMNEW_P2yPnd8Xx1tep19hy5ee7ojxz6ZOO1grTQsRQ,5230
|
|
22
|
-
ebi_eva_common_pyutils-0.6.
|
|
22
|
+
ebi_eva_common_pyutils-0.6.7.data/scripts/archive_directory.py,sha256=0lWJ0ju_AB2ni7lMnJXPFx6U2OdTGbe-WoQs-4BfKOM,4976
|
|
23
23
|
ebi_eva_internal_pyutils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
24
|
ebi_eva_internal_pyutils/archive_directory.py,sha256=IxVEfh_gaCiT652k0Q_-58fonRusy1yzXu7BCO8yVLo,4989
|
|
25
25
|
ebi_eva_internal_pyutils/config_utils.py,sha256=EGRC5rsmU_ug7OY9-t1UW1XZXRsauSyZB9xPcBux8ts,7909
|
|
26
26
|
ebi_eva_internal_pyutils/metadata_utils.py,sha256=t9PcXZdbfjDBP04GJenC4bxm2nOLd8oI_MP9eNe9IBQ,15221
|
|
27
27
|
ebi_eva_internal_pyutils/mongo_utils.py,sha256=YxKHtb5ygDiGLOtEiiAMFCP2ow6FL9Kq0K5R0mWNdXY,3575
|
|
28
28
|
ebi_eva_internal_pyutils/pg_utils.py,sha256=FUQVwiX_7F2-4sSzoaCVX2me0zAqR8nGIj6NW5d304A,4398
|
|
29
|
-
ebi_eva_internal_pyutils/spring_properties.py,sha256=
|
|
29
|
+
ebi_eva_internal_pyutils/spring_properties.py,sha256=B8TpVKvXUvMilXIv6rJFcHD2kBmaFV_M9R_0doMYNts,15161
|
|
30
30
|
ebi_eva_internal_pyutils/mongodb/__init__.py,sha256=0oyTlkYZCV7udlPl09Zl-sDyE3c97QZMMTEFIa6uYIw,76
|
|
31
31
|
ebi_eva_internal_pyutils/mongodb/mongo_database.py,sha256=kesaJaaxYFeF_uYZBgL8tbufGKUXll7bXb4WlOS9vKM,9596
|
|
32
32
|
ebi_eva_internal_pyutils/nextflow/__init__.py,sha256=OOiJS8jZOz98q0t77NNog7aI_fFrVxi4kGmiSskuAqM,122
|
|
33
33
|
ebi_eva_internal_pyutils/nextflow/nextflow_pipeline.py,sha256=ew623hhK8jmFLQjJwLZbgBmW9RTiJBEULVqHfIUv_dc,10114
|
|
34
|
-
ebi_eva_common_pyutils-0.6.
|
|
35
|
-
ebi_eva_common_pyutils-0.6.
|
|
36
|
-
ebi_eva_common_pyutils-0.6.
|
|
37
|
-
ebi_eva_common_pyutils-0.6.
|
|
38
|
-
ebi_eva_common_pyutils-0.6.
|
|
34
|
+
ebi_eva_common_pyutils-0.6.7.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
35
|
+
ebi_eva_common_pyutils-0.6.7.dist-info/METADATA,sha256=CkS0gM_NHH4fr1TBxoXn6FTnZ4vfT4fS41ReZCKAy0U,824
|
|
36
|
+
ebi_eva_common_pyutils-0.6.7.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
|
37
|
+
ebi_eva_common_pyutils-0.6.7.dist-info/top_level.txt,sha256=sXoiqiGU8vlMQpFWDlKrekxhlusk06AhkOH3kSvDT6c,48
|
|
38
|
+
ebi_eva_common_pyutils-0.6.7.dist-info/RECORD,,
|
|
@@ -117,10 +117,9 @@ class SpringPropertiesGenerator:
|
|
|
117
117
|
merge = {**self._common_properties(read_preference=read_preference, chunk_size=chunk_size), **props}
|
|
118
118
|
return merge
|
|
119
119
|
|
|
120
|
-
def _common_accessioning_clustering_properties(self, *,
|
|
120
|
+
def _common_accessioning_clustering_properties(self, *, assembly_accession, read_preference, chunk_size):
|
|
121
121
|
"""Properties common to accessioning and clustering pipelines."""
|
|
122
122
|
props = {
|
|
123
|
-
'accessioning.instanceId': self._format_str('instance-{0}', instance),
|
|
124
123
|
'accessioning.submitted.categoryId': 'ss',
|
|
125
124
|
'accessioning.clustered.categoryId': 'rs',
|
|
126
125
|
'accessioning.monotonic.ss.blockSize': 100000,
|
|
@@ -129,16 +128,18 @@ class SpringPropertiesGenerator:
|
|
|
129
128
|
'accessioning.monotonic.rs.blockSize': 100000,
|
|
130
129
|
'accessioning.monotonic.rs.blockStartValue': 3000000000,
|
|
131
130
|
'accessioning.monotonic.rs.nextBlockInterval': 1000000000,
|
|
131
|
+
# This value is not used but is required to create beans in Java
|
|
132
|
+
'recovery.cutoff.days': 9999999
|
|
132
133
|
}
|
|
133
134
|
merge = {**self._common_accessioning_properties(assembly_accession, read_preference, chunk_size), **props}
|
|
134
135
|
return merge
|
|
135
136
|
|
|
136
|
-
def get_accessioning_properties(self, *,
|
|
137
|
+
def get_accessioning_properties(self, *, target_assembly=None, fasta=None, assembly_report=None,
|
|
137
138
|
project_accession=None, aggregation='BASIC', taxonomy_accession=None,
|
|
138
139
|
vcf_file='', output_vcf='', chunk_size=100):
|
|
139
140
|
"""Properties for accessioning pipeline."""
|
|
140
141
|
return self._format(
|
|
141
|
-
self._common_accessioning_clustering_properties(
|
|
142
|
+
self._common_accessioning_clustering_properties(assembly_accession=target_assembly,
|
|
142
143
|
read_preference='secondaryPreferred', chunk_size=chunk_size),
|
|
143
144
|
{
|
|
144
145
|
'spring.batch.job.names': 'CREATE_SUBSNP_ACCESSION_JOB',
|
|
@@ -154,21 +155,20 @@ class SpringPropertiesGenerator:
|
|
|
154
155
|
},
|
|
155
156
|
)
|
|
156
157
|
|
|
157
|
-
def get_clustering_properties(self, *,
|
|
158
|
-
|
|
158
|
+
def get_clustering_properties(self, *, read_preference='primary', job_name=None, source_assembly='',
|
|
159
|
+
target_assembly='', rs_report_path='', projects='',
|
|
159
160
|
project_accession='', vcf=''):
|
|
160
161
|
"""Properties common to all clustering pipelines, though not all are always used."""
|
|
161
162
|
return self._format(
|
|
162
|
-
self._common_accessioning_clustering_properties(
|
|
163
|
-
read_preference=read_preference, chunk_size=100,
|
|
164
|
-
),
|
|
163
|
+
self._common_accessioning_clustering_properties(assembly_accession=target_assembly,
|
|
164
|
+
read_preference=read_preference, chunk_size=100),
|
|
165
165
|
{
|
|
166
166
|
'spring.batch.job.names': job_name,
|
|
167
167
|
'parameters.remappedFrom': source_assembly,
|
|
168
168
|
'parameters.projects': projects,
|
|
169
169
|
'parameters.projectAccession': project_accession,
|
|
170
170
|
'parameters.vcf': vcf,
|
|
171
|
-
'parameters.rsReportPath': rs_report_path
|
|
171
|
+
'parameters.rsReportPath': rs_report_path,
|
|
172
172
|
}
|
|
173
173
|
)
|
|
174
174
|
|
{ebi_eva_common_pyutils-0.6.6.data → ebi_eva_common_pyutils-0.6.7.data}/scripts/archive_directory.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ebi_eva_common_pyutils-0.6.6.dist-info → ebi_eva_common_pyutils-0.6.7.dist-info}/top_level.txt
RENAMED
|
File without changes
|