# Amount of database records to work with at once.
BATCH_SIZE = 5000

# Create a list of buckets from "-1.9 to 10.0"
BUCKET_LIST = []
for x in range(-19,101,1):
    BUCKET_LIST.append(str(x/10))

# Index order list of tax levels
TAXONOMY_ORDER = [
  'Unknown', 'no rank', 'clade', 'cellular root',
  'acellular root', 'realm', 'domain', 'kingdom',
  'subkingdom', 'superphylum', 'phylum', 'subphylum',
  'superclass', 'class', 'subclass', 'infraclass',
  'cohort', 'superorder', 'order', 'suborder', 'infraorder',
  'parvorder', 'superfamily', 'family', 'subfamily',
  'tribe', 'subtribe', 'genus', 'subgenus', 'section',
  'subsection', 'series', 'species group',
  'species subgroup', 'species', 'subspecies', 'varietas',
  'subvariety', 'forma', 'forma specialis', 'isolate',
  'strain', 'biotype', 'genotype', 'morph',
  'serogroup', 'serotype', 'pathogroup'
]

MAJOR_RANKS = [
    'domain', 'kingdom', 'phylum', 'class', 'order', 'family', 'genus', 'species'
]