self comparison now runs in own thread
fixed direction when selecting duplicated contigs