Skip to content

Commit

Permalink
Throw an error when --soloFeatures Velocyto is used with --soloType S…
Browse files Browse the repository at this point in the history
…martSeq .
  • Loading branch information
alexdobin committed Aug 15, 2020
1 parent 1fe083b commit 8537c16
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/ParametersSolo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ void ParametersSolo::initialize(Parameters *pPin)
exitWithError(errOut.str(),std::cerr, pP->inOut->logMain, EXIT_CODE_PARAMETER, *pP);
};

if (featureYes[SoloFeatureTypes::Velocyto] && type==SoloTypes::SmartSeq) {
string errOut = "EXITING because of fatal PARAMETERS error: --soloFeatures Velocyto is presently not compatible with --soloType SmartSeq .\n";
errOut += "SOLUTION: re-run without --soloFeatures Velocyto .";
exitWithError(errOut, std::cerr, pP->inOut->logMain, EXIT_CODE_PARAMETER, *pP);
};

if (type != SoloTypes::CB_samTagOut) {//gene quantification is needed
if (featureYes[SoloFeatureTypes::Gene]) {
pP->quant.gene.yes=true;
Expand Down

0 comments on commit 8537c16

Please sign in to comment.