Commit 52acdab7 authored by Jasper Koehorst's avatar Jasper Koehorst
Browse files

sync, still in progress

parent a0b006cb
......@@ -102,13 +102,15 @@ if __name__ == "__main__":
identifiers = set()
for line in open("identifiers.tsv"):
if "MGYG" not in line: continue
identifier = line.strip().split("\t")[1]
accession = line.strip().split("\t")[2]
if (identifier.startswith("MGYG")):
retrieval(identifier, accession)
identifiers.add(identifier)
conversion_stage(identifier)
# break
# Number of cores
# num_cores = 3 # multiprocessing.cpu_count()
# results = Parallel(n_jobs=num_cores)(delayed(conversion_stage)(identifier) for identifier in identifiers)
if "MGYG-HGUT-03178" in line or "MGYG-HGUT-00360" in line:
print(line)
identifier = line.strip().split("\t")[1]
accession = line.strip().split("\t")[2]
if (identifier.startswith("MGYG")):
retrieval(identifier, accession)
identifiers.add(identifier)
conversion_stage(identifier)
# break
# Number of cores
# num_cores = 3 # multiprocessing.cpu_count()
# results = Parallel(n_jobs=num_cores)(delayed(conversion_stage)(identifier) for identifier in identifiers)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment