From a5ba1a8062e7116c2951762f86a6ae6d1638261d Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 3 Jan 2021 08:05:51 +0000 Subject: genbank: submitter info --- workflows/pull-data/genbank/ref.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'workflows/pull-data/genbank/ref.py') diff --git a/workflows/pull-data/genbank/ref.py b/workflows/pull-data/genbank/ref.py index e998d37..66c9fb0 100644 --- a/workflows/pull-data/genbank/ref.py +++ b/workflows/pull-data/genbank/ref.py @@ -1,16 +1,5 @@ # ---- BELOW IS JUST FOR REFERENCE ---- - GBReference = GBSeq_references.find('GBReference') - if GBReference is not None: - GBReference_journal = GBReference.find('GBReference_journal') - - if GBReference_journal is not None and GBReference_journal.text != 'Unpublished': - if 'Submitted' in GBReference_journal.text: - submitter['submitter_name'] = ["{}".format(GBReference_journal.text.split(') ')[1].split(',')[0].strip())] - submitter['submitter_address'] = ','.join(GBReference_journal.text.split(') ')[1].split(',')[1:]).strip() - else: - submitter['additional_submitter_information'] = GBReference_journal.text - # This script download and prepare data and metadata for assemblies samples technology['assembly_method'] = 'http://purl.obolibrary.org/obo/GENEPIO_0001628' -- cgit v1.2.3