creates an output file with resfams_ID as columns and img_ID rows, 1 if gene is present, 0 if not present