Sha256: 3efe8c645a442d5070452c67aa60975eb1768408a651ec373a0757c864c1ce8e

Contents?: true

Size: 725 Bytes

Versions: 8

Compression:

Stored size: 725 Bytes

Contents

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#include "globals.h"
#include "utility.h"
#include "readToNode.h"
#include "graphStructures.h"
#include "graph.h"

int main(int argc, char **argv){
  if (argc != 2){
    printf("Usage: readToNode <lastgraph_file>\n");
    exit(1);
  }

  Graph* graph = importGraph(argv[1]);
  ReadIdToNodeIdLookupTable* readToNode = createReadToNode(graph);
  printf("Parsed in graph with  %i reads and %i entries\n", readToNode->num_reads, readToNode->num_contents);

  char* fileName = "ReadToNode.bin";
  writeReadIdToNodeIdLookupTable(fileName, readToNode);
  printf("Finished writing\n");

  destroyReadIdToNodeIdLookupTable(readToNode);
  destroyGraph(graph);

  return 0;
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
finishm-0.0.9 ext/src/src/runReadToNode.c
finishm-0.0.8 ext/src/src/runReadToNode.c
finishm-0.0.7 ext/src/src/runReadToNode.c
finishm-0.0.6 ext/src/src/runReadToNode.c
finishm-0.0.5 ext/src/src/runReadToNode.c
finishm-0.0.4 ext/src/src/runReadToNode.c
finishm-0.0.2 ext/src/src/runReadToNode.c
finishm-0.0.1 ext/src/src/runReadToNode.c