import os,datetime
from download import download
from download import get_parser

class zika_download(download):
    def __init__(self, **kwargs):
        download.__init__(self, **kwargs)

if __name__=="__main__":
    parser = get_parser()
    args = parser.parse_args()
    fasta_fields = ['strain', 'virus', 'accession', 'collection_date', 'region',
                    'country', 'division', 'location', 'source', 'locus', 'authors', 'url', 'title']
    args.fasta_fields = fasta_fields
    current_date = str(datetime.datetime.strftime(datetime.datetime.now(),'%Y_%m_%d'))
    if args.fstem is None:
        args.fstem = args.virus + '_' + current_date
    if not os.path.isdir(args.path):
        os.makedirs(args.path)
    connfluVDB = zika_download(**args.__dict__)
    connfluVDB.download(**args.__dict__)

@@ -445,16 +445,37 @@
  'title'
+, 'journal', 'puburl'
 %5D%0A    ar

add fields to zika download