Skip to content
Winni Kretzschmar edited this page Jan 10, 2018 · 6 revisions
usage: mccortex31 join [options] in1.ctx [[offset:]in2.ctx[:1,2,4-5] ...]
  Merge cortex graphs.
  -h, --help              This help message
  -q, --quiet             Silence status output normally printed to STDERR
  -f, --force             Overwrite output files
  -o, --out <out.ctx>     Output file [required]
  -m, --memory <mem>      Memory to use
  -n, --nkmers <kmers>    Number of hash table entries (e.g. 1G ~ 1 billion)
  -N, --ncols <c>         How many colours to load at once [default: 1]
  -i, --intersect <a.ctx> Only load the kmers that are in graph A.ctx. Can be
                          specified multiple times. <a.ctx> is NOT merged into
                          the output file.
  Files can be specified with specific colours: samples.ctx:2,3
  Offset specifies where to load the first colour: 3:samples.ctx

You can specify to only load some of the colours of a graph using the <in.ctx>:<col> syntax. Colours are numbered from 0 and <col> must be one of: single number; comma separated list of ranges; '*' symbol meaning `all'. The following are all valid examples:

in.ctx
in.ctx:*  (same as above)
in.ctx:0
in.ctx:1,4
in.ctx:9,1-4,3,12  (i.e. 9,1,2,3,4,3,12)

You can specify which colour to start loading into using the <into>:<in.ctx> syntax. In this case <into> must be a single number if it is specified. If it is empty, the next empty colour is used.

Examples

Load arbitrary colors from three graphs into colour zero of a new graph:

mccortex join out.ctx 0:in1.ctx:2 0:in2.ctx:1 0:in3.ctx:3
Clone this wiki locally