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
Copy file name to clipboardExpand all lines: opencga-analysis/src/main/java/org/opencb/opencga/analysis/clinical/pharmacogenomics/PharmacogenomicsAlleleTyperAnalysisTool.java
Copy file name to clipboardExpand all lines: opencga-analysis/src/main/java/org/opencb/opencga/analysis/clinical/pharmacogenomics/PharmacogenomicsAnnotationAnalysisTool.java
Copy file name to clipboardExpand all lines: opencga-analysis/src/main/java/org/opencb/opencga/analysis/clinical/pharmacogenomics/PharmacogenomicsManager.java
+48-3Lines changed: 48 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -213,14 +213,59 @@ public void storeResultsInPath(List<AlleleTyperResult> results, Path annotatedDi
213
213
}
214
214
215
215
/**
216
-
* Store pharmacogenomics results as attributes in sample objects.
216
+
* Store the tool output directory path in catalog sample attributes under the key OPENCGA_PHARMACOGENOMICS_PATH.
217
+
* The same outDir is stored for every non-NTC sample produced by the tool run.
218
+
* Samples not found in the catalog are silently skipped.
217
219
*
218
220
* @param studyId Study identifier
219
221
* @param results List of pharmacogenomics results
220
-
* @param token Authentication token
222
+
* @param outDir Root output directory of the tool execution
223
+
* @param token Authentication token
221
224
* @throws CatalogException if catalog operations fail
Copy file name to clipboardExpand all lines: opencga-analysis/src/test/java/org/opencb/opencga/analysis/clinical/pharmacogenomics/PharmacogenomicsAlleleTyperAnalysisToolTest.java
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ public void setUp() throws Exception {
Copy file name to clipboardExpand all lines: opencga-analysis/src/test/java/org/opencb/opencga/analysis/clinical/pharmacogenomics/PharmacogenomicsAnnotationAnalysisToolTest.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -162,7 +162,7 @@ public void testAnnotationAnalysisUsingContent() throws Exception {
162
162
assertTrue("At least some diplotypes should have been annotated", annotatedDiplotypeCount > 0);
Copy file name to clipboardExpand all lines: opencga-core/src/main/java/org/opencb/opencga/core/models/clinical/pharmacogenomics/cpic/CpicAlleleInfo.java
0 commit comments