You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.allPeptides =Objects.requireNonNull(allPeptides, "allPeptides must not be null.")
74
+
this.evidence =Objects.requireNonNull(evidence, "evidence must not be null.")
75
+
this.parameters =Objects.requireNonNull(parameters, "parameters must not be null.")
76
+
this.peptides =Objects.requireNonNull(peptides, "peptides must not be null.")
77
+
this.proteinGroups =Objects.requireNonNull(proteinGroups, "proteinGroups must not be null.")
78
+
this.runParameters =Objects.requireNonNull(runParameters, "runParameters must not be null.")
79
+
this.sampleIds =Objects.requireNonNull(sampleIds, "sampleIds must not be null.")
80
+
}
81
+
71
82
/**
72
-
* Static factory method that creates a new maxQuantRunResult instance from the bioinformatic pipeline output.
73
-
* See this @{link <ahref="https://github.com/qbicsoftware/data-model-lib/blob/master/src/test/resources/examples/resultset/maxquant/valid-resultset-example.json">example</a>}
83
+
* Static factory method that creates a new maxQuantRunResult instance from the MaxQuant output.
84
+
* See this @{link <ahref="https://github.com/qbicsoftware/data-model-lib/blob/master/src/test/resources/examples/resultset/maxquant/valid-resultset-example_latest.json">example</a>}
74
85
* for a JSON representation of a valid map structure
75
86
*
76
87
* @param Map maxQuantRunOutput
@@ -82,27 +93,23 @@ final class MaxQuantRunResult {
82
93
//Check if the required folders are in the root directory
83
94
Objects.requireNonNull(maxQuantRunOutput.get("allPeptides"), "The provided directory must contain a allPeptides.txt file.")
84
95
Objects.requireNonNull(maxQuantRunOutput.get("evidence"), "The provided directory must contain a evidence.txt file.")
85
-
Objects.requireNonNull(maxQuantRunOutput.get("experimentalDesignTemplate"), "The provided directory must contain a experimentalDesignTemplate.txt file.")
86
96
Objects.requireNonNull(maxQuantRunOutput.get("parameters"), "The provided directory must contain a parameters.txt file.")
87
97
Objects.requireNonNull(maxQuantRunOutput.get("peptides"), "The provided directory must contain a peptides.txt file.")
88
98
Objects.requireNonNull(maxQuantRunOutput.get("proteinGroups"), "The provided directory must contain a proteinGroups.txt file.")
89
99
Objects.requireNonNull(maxQuantRunOutput.get("runParameters"), "The provided director must contain a runParameters.xml file.")
90
100
Objects.requireNonNull(maxQuantRunOutput.get("sampleIds"), "The provided directory must contain a sampleIds.txt file.")
91
-
Objects.requireNonNull(maxQuantRunOutput.get("summary"), "The provided directory must contain a summary.pdf file.")
0 commit comments