Writing variants and corresponding study metadata to HBase + MongoDB