if(!isSingleVariantTrack(selectedTracks)){
return null;
}
Track track = selectedTracks.iterator().next();
final VariantTrack vTrack = (VariantTrack) track;
final Variant variant = vTrack.getSelectedVariant(te);
ResourceLocator trackLocator = vTrack.getResourceLocator();
//If the track isn't connected to a database, use the default
if(!trackLocator.getPath().toLowerCase().endsWith(VARIANT_DB_EXT) && defaultLocator != null){
trackLocator = defaultLocator;