@@ -897,10 +897,11 @@ public List<ToolParameterDescriptor> getHashingCallingParams(boolean allowDemuxE
897897 put ("decimalPrecision" , 2 );
898898 }}, 0.2 ),
899899 ToolParameterDescriptor .create ("skipNormalizationQc" , "Skip Normalization QC" , null , "checkbox" , null , true ),
900+ ToolParameterDescriptor .create ("doTSNE" , "Do tSNE" , "If true, tSNE will be performed as part of QC" , "checkbox" , null , true ),
900901 ToolParameterDescriptor .create ("retainRawCountFile" , "Retain Raw Counts File" , null , "checkbox" , null , false )
901902 ));
902903
903- final List <String > allMethods = Arrays .stream (CALLING_METHOD .values ()).filter (x -> allowDemuxEm || x != CALLING_METHOD .demuxem ).map (Enum ::name ).collect ( Collectors . toList () );
904+ final List <String > allMethods = Arrays .stream (CALLING_METHOD .values ()).filter (x -> allowDemuxEm || x != CALLING_METHOD .demuxem ).map (Enum ::name ).toList ();
904905 ret .add (ToolParameterDescriptor .create ("methods" , "Calling Methods" , "The set of methods to use in calling." , "ldk-simplecombo" , new JSONObject ()
905906 {{
906907 put ("multiSelect" , true );
@@ -1188,9 +1189,10 @@ public File generateCellHashingCalls(File citeSeqCountOutDir, File outputDir, St
11881189
11891190 String skipNormalizationQcString = parameters .skipNormalizationQc ? "TRUE" : "FALSE" ;
11901191 String keepMarkdown = parameters .keepMarkdown ? "TRUE" : "FALSE" ;
1192+ String doTSNE = parameters .doTSNE ? "TRUE" : "FALSE" ;
11911193 String h5String = h5 == null ? "" : ", h5File = '/work/" + h5 .getName () + "'" ;
11921194 String consensusMethodString = consensusMethodNames .isEmpty () ? "" : ", methodsForConsensus = c('" + StringUtils .join (consensusMethodNames , "','" ) + "')" ;
1193- writer .println ("f <- cellhashR::CallAndGenerateReport(rawCountData = '/work/" + citeSeqCountOutDir .getName () + "'" + h5String + ", molInfoFile = '/work/" + molInfo .getName () + "', reportFile = '/work/" + htmlFile .getName () + "', callFile = '/work/" + callsFile .getName () + "', metricsFile = '/work/" + metricsFile .getName () + "', rawCountsExport = '/work/" + countFile .getName () + "', cellbarcodeWhitelist = " + cellbarcodeWhitelist + ", barcodeWhitelist = " + allowableBarcodeParam + ", title = '" + parameters .getReportTitle () + "', skipNormalizationQc = " + skipNormalizationQcString + ", methods = c('" + StringUtils .join (methodNames , "','" ) + "')" + consensusMethodString + ", keepMarkdown = " + keepMarkdown + ", minCountPerCell = " + (parameters .minCountPerCell == null ? "NULL" : parameters .minCountPerCell ) + ", majorityConsensusThreshold = " + (parameters .majorityConsensusThreshold == null ? "NULL" : parameters .majorityConsensusThreshold ) + ", callerDisagreementThreshold = " + (parameters .callerDisagreementThreshold == null ? "NULL" : parameters .callerDisagreementThreshold ) + ")" );
1195+ writer .println ("f <- cellhashR::CallAndGenerateReport(rawCountData = '/work/" + citeSeqCountOutDir .getName () + "'" + h5String + ", molInfoFile = '/work/" + molInfo .getName () + "', reportFile = '/work/" + htmlFile .getName () + "', callFile = '/work/" + callsFile .getName () + "', metricsFile = '/work/" + metricsFile .getName () + "', rawCountsExport = '/work/" + countFile .getName () + "', cellbarcodeWhitelist = " + cellbarcodeWhitelist + ", barcodeWhitelist = " + allowableBarcodeParam + ", title = '" + parameters .getReportTitle () + "', skipNormalizationQc = " + skipNormalizationQcString + ", methods = c('" + StringUtils .join (methodNames , "','" ) + "')" + consensusMethodString + ", keepMarkdown = " + keepMarkdown + ", minCountPerCell = " + (parameters .minCountPerCell == null ? "NULL" : parameters .minCountPerCell ) + ", majorityConsensusThreshold = " + (parameters .majorityConsensusThreshold == null ? "NULL" : parameters .majorityConsensusThreshold ) + ", callerDisagreementThreshold = " + (parameters .callerDisagreementThreshold == null ? "NULL" : parameters .callerDisagreementThreshold ) + ", doTSNE = " + doTSNE + ")" );
11941196 writer .println ("print('Rmarkdown complete')" );
11951197
11961198 }
0 commit comments