From 327b6db4e7c9ceda190617f2a793e6a646bb30cc Mon Sep 17 00:00:00 2001 From: AndreaGuarracino Date: Fri, 4 Sep 2020 11:13:25 +0200 Subject: added in the sra script an option to include only a subset of ids --- scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/download_genbank_data') diff --git a/scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py b/scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py index 7251819..52aee4e 100755 --- a/scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py +++ b/scripts/download_genbank_data/from_genbank_to_fasta_and_yaml.py @@ -58,7 +58,8 @@ if args.ids_to_ignore: with open(args.ids_to_ignore) as f: accession_to_ignore_set.update(set([x.split('.')[0] for x in f.read().strip('\n').split('\n')])) - print('There are {} accessions to ignore.'.format(len(accession_to_ignore_set))) + + print('There are {} accessions to ignore.'.format(len(accession_to_ignore_set))) accession_already_downloaded_set = set() -- cgit v1.2.3