Use rettype=gbwithparts to download GenBank files
Created by: mutalyzerbot
Original ticket: https://humgenprojects.lumc.nl/trac/mutalyzer/ticket/74 Original date: 2011/11/07 Original reporter: martijn
Use rettype=gbwithparts instead of just rettype=gb to download GenBank reference files from the NCBI. This makes sure references built from contigs will contain the full sequence, instead of just the contig locations.
To make sure we don't start downloading huge reference files, first just download the file in the normal way (rettype=gb), look at its size, and if that's okay (and only if needed), download the file with the full sequence.