text: user252: I will preface this by saying I'm not a microbiologist, so I apologise for any haziness and I'll be happy to expand.
  I would like to download the assemblies of different E. coli genomes and group them by their pathotypes (e.g. EPEC, ETEC, EIEC). 
  I have used enterobase previously to download salmonella genomes broadly by their subspecies, and it does have a set of E. coli genomes. However, they are mainly annotated by their serotype, and not with any broad nomination of pathogenesis. I think I would be able to use the API to grab these serotypes and map them to a type of pathogenicity but that would probably be quite messy.
  Does such a database exist? Most I can find are broadly annotated or a are very detailed, but don't allow access to the raw annotation. 
  Thanks in advance.
  
  user2245: If ENA archive contains such information, then you can access it programatically through the EBI api.
  Also you can access the NCBI database programatically through their eutils.
  In both cases you can access annotations, though not sure if they contain what you are looking for in all the cases.
  
original_text: 252: <p>I will preface this by saying I'm not a microbiologist, so I apologise for any haziness and I'll be happy to expand.</p>
  
  <p>I would like to download the assemblies of different E. coli genomes and group them by their pathotypes (e.g. EPEC, ETEC, EIEC). </p>
  
  <p>I have used enterobase previously to download salmonella genomes broadly by their subspecies, and it does have a set of E. coli genomes. However, they are mainly annotated by their serotype, and not with any broad nomination of pathogenesis. I think I would be able to use the API to grab these serotypes and map them to a type of pathogenicity but that would probably be quite messy.</p>
  
  <p>Does such a database exist? Most I can find are broadly annotated or a are very detailed, but don't allow access to the raw annotation. </p>
  
  <p>Thanks in advance.</p>
   2245: <p>If ENA archive contains such information, then you can access it programatically through the <a href="https://www.ebi.ac.uk/ena/browse/programmatic-access" rel="nofollow noreferrer">EBI api</a>.</p>
  
  <p>Also you can access the NCBI database programatically through their <a href="https://www.ncbi.nlm.nih.gov/books/NBK25500/" rel="nofollow noreferrer">eutils</a>.</p>
  
  <p>In both cases you can access annotations, though not sure if they contain what you are looking for in all the cases.</p>
  