in src/main/java/com/epam/fonda/tools/impl/QcSummary.java [138:167]
private String getValueForSpecificVar(String workflow, Variable variable, String libraryType) {
final PipelineType pipelineType = PipelineType.getByName(workflow);
Map<Enum, String> map = new HashMap<>();
map.put(Variable.TASK, "alignment");
switch (pipelineType) {
case DNA_CAPTURE_VAR_FASTQ:
case DNA_WGS_VAR_FASTQ:
case DNA_AMPLICON_VAR_FASTQ:
map.put(Variable.TASK, "postalignment");
if (!matchesExomeLibraryTypeCondition(libraryType) &&
!matchesCaptureLibraryTypeCondition(libraryType)) {
break;
}
map.put(Variable.TAG, "Merge DNA QC");
break;
case RNA_EXPRESSION_FASTQ:
case RNA_CAPTURE_VAR_FASTQ:
case SC_RNA_EXPRESSION_FASTQ:
map.put(Variable.TAG, "Merge RNA QC");
break;
case SC_RNA_EXPRESSION_CELLRANGER_FASTQ:
map.put(Variable.TAG, "Cellranger count");
break;
default:
break;
}
return map.get(variable);
}