Skip to content

Commit

Permalink
making the dup count flag optional
Browse files Browse the repository at this point in the history
  • Loading branch information
hiraksarkar committed Mar 13, 2019
1 parent a4ef901 commit 98258d7
Showing 1 changed file with 20 additions and 16 deletions.
36 changes: 20 additions & 16 deletions src/Minnow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,27 @@ int main(int argc, char* argv[]) {

auto simulateMode = (
command("simulate").set(selected, mode::simulate),

// required options

(required("-m", "--matdir") &
value("mat_file", simulateOpt.matrixFile)) %
"directory with matrix file/ if this is a file instead of a dir",

(required("-o", "--outdir") &
value("mat_file", simulateOpt.outDir)) %
"the simulated reads will be written here",

(required("-r", "--reffile") &
value("ref_file", simulateOpt.refFile)) %
"transcriptome reference file (assumed from fasta file)",



(option("--numMolFile") &
value("num mol file", simulateOpt.numMolFile)) %
"Number of molecules generated from each cell",

(option("--alevin-mode").set(simulateOpt.alevinMode, true)) %
"The program would assume that the input matrix is obtained from Alevin",

Expand All @@ -80,25 +100,9 @@ int main(int argc, char* argv[]) {
value("number of Doublets", simulateOpt.numOfDoublets)) %
"Number of doublets to be generated",

(required("-m", "--matdir") &
value("mat_file", simulateOpt.matrixFile)) %
"directory with matrix file/ if this is a file instead of a dir",

(required("-o", "--outdir") &
value("mat_file", simulateOpt.outDir)) %
"the simulated reads will be written here",

(required("--numMolFile") &
value("num mol file", simulateOpt.numMolFile)) %
"Number of molecules generated from each cell",

(option("--gencode").set(simulateOpt.gencode, true)) %
"gencode reference has | separator",

(required("-r", "--reffile") &
value("ref_file", simulateOpt.refFile)) %
"transcriptome reference file (assumed from fasta file)",

(option("--g2t") &
value("gene_tr", simulateOpt.gene2txpFile)) %
"tab separated list of Gene to Transcirpt mapping",
Expand Down

0 comments on commit 98258d7

Please sign in to comment.