Skip to content

Commit de1e789

Browse files
cli: Regenerate client and command line #TASK-6111
1 parent 4366720 commit de1e789

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+125
-128
lines changed

opencga-app/src/main/java/org/opencb/opencga/app/cli/main/OpenCgaCompleter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2024-04-17 OpenCB
2+
* Copyright 2015-2024-04-25 OpenCB
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

opencga-app/src/main/java/org/opencb/opencga/app/cli/main/OpencgaCliOptionsParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2024-04-17 OpenCB
2+
* Copyright 2015-2024-04-25 OpenCB
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

opencga-app/src/main/java/org/opencb/opencga/app/cli/main/options/AnalysisClinicalCommandOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,7 +1687,7 @@ public class QueryVariantCommandOptions {
16871687
@Parameter(names = {"--include-interpretation"}, description = "Interpretation ID to include the fields related to this interpretation", required = false, arity = 1)
16881688
public String includeInterpretation;
16891689

1690-
@Parameter(names = {"--id"}, description = "List of IDs, these can be rs IDs (dbSNP) or variants in the format chrom:start:ref:alt, e.g. rs116600158,19:7177679:C:T", required = false, arity = 1)
1690+
@Parameter(names = {"--id"}, description = "List of variant IDs in the format chrom:start:ref:alt, e.g. 19:7177679:C:T", required = false, arity = 1)
16911691
public String id;
16921692

16931693
@Parameter(names = {"--region"}, description = "List of regions, these can be just a single chromosome name or regions in the format chr:start-end, e.g.: 2,3:100000-200000", required = false, arity = 1)
@@ -1768,7 +1768,7 @@ public class QueryVariantCommandOptions {
17681768
@Parameter(names = {"--ct"}, description = "List of SO consequence types, e.g. missense_variant,stop_lost or SO:0001583,SO:0001578. Accepts aliases 'loss_of_function' and 'protein_altering'", required = false, arity = 1)
17691769
public String ct;
17701770

1771-
@Parameter(names = {"--xref"}, description = "List of any external reference, these can be genes, proteins or variants. Accepted IDs include HGNC, Ensembl genes, dbSNP, ClinVar, HPO, Cosmic, ...", required = false, arity = 1)
1771+
@Parameter(names = {"--xref"}, description = "List of any external reference, these can be genes, proteins or variants. Accepted IDs include HGNC, Ensembl genes, dbSNP, ClinVar, HPO, Cosmic, HGVS ...", required = false, arity = 1)
17721772
public String xref;
17731773

17741774
@Parameter(names = {"--biotype"}, description = "List of biotypes, e.g. protein_coding", required = false, arity = 1)

opencga-app/src/main/java/org/opencb/opencga/app/cli/main/options/AnalysisVariantCommandOptions.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ public class AggregationStatsCommandOptions {
177177
@Parameter(names = {"--ct"}, description = "List of SO consequence types, e.g. missense_variant,stop_lost or SO:0001583,SO:0001578. Accepts aliases 'loss_of_function' and 'protein_altering'", required = false, arity = 1)
178178
public String ct;
179179

180-
@Parameter(names = {"--xref"}, description = "List of any external reference, these can be genes, proteins or variants. Accepted IDs include HGNC, Ensembl genes, dbSNP, ClinVar, HPO, Cosmic, ...", required = false, arity = 1)
180+
@Parameter(names = {"--xref"}, description = "List of any external reference, these can be genes, proteins or variants. Accepted IDs include HGNC, Ensembl genes, dbSNP, ClinVar, HPO, Cosmic, HGVS ...", required = false, arity = 1)
181181
public String xref;
182182

183183
@Parameter(names = {"--biotype"}, description = "List of biotypes, e.g. protein_coding", required = false, arity = 1)
@@ -259,7 +259,7 @@ public class QueryAnnotationCommandOptions {
259259
@ParametersDelegate
260260
public CommonCommandOptions commonOptions = commonCommandOptions;
261261

262-
@Parameter(names = {"--id"}, description = "List of IDs, these can be rs IDs (dbSNP) or variants in the format chrom:start:ref:alt, e.g. rs116600158,19:7177679:C:T", required = false, arity = 1)
262+
@Parameter(names = {"--id"}, description = "List of variant IDs in the format chrom:start:ref:alt, e.g. 19:7177679:C:T", required = false, arity = 1)
263263
public String id;
264264

265265
@Parameter(names = {"--region"}, description = "List of regions, these can be just a single chromosome name or regions in the format chr:start-end, e.g.: 2,3:100000-200000", required = false, arity = 1)
@@ -1614,7 +1614,7 @@ public class QueryCommandOptions {
16141614
@Parameter(names = {"--saved-filter"}, description = "Use a saved filter at User level", required = false, arity = 1)
16151615
public String savedFilter;
16161616

1617-
@Parameter(names = {"--id"}, description = "List of IDs, these can be rs IDs (dbSNP) or variants in the format chrom:start:ref:alt, e.g. rs116600158,19:7177679:C:T", required = false, arity = 1)
1617+
@Parameter(names = {"--id"}, description = "List of variant IDs in the format chrom:start:ref:alt, e.g. 19:7177679:C:T", required = false, arity = 1)
16181618
public String id;
16191619

16201620
@Parameter(names = {"--region"}, description = "List of regions, these can be just a single chromosome name or regions in the format chr:start-end, e.g.: 2,3:100000-200000", required = false, arity = 1)
@@ -1740,7 +1740,7 @@ public class QueryCommandOptions {
17401740
@Parameter(names = {"--ct"}, description = "List of SO consequence types, e.g. missense_variant,stop_lost or SO:0001583,SO:0001578. Accepts aliases 'loss_of_function' and 'protein_altering'", required = false, arity = 1)
17411741
public String ct;
17421742

1743-
@Parameter(names = {"--xref"}, description = "List of any external reference, these can be genes, proteins or variants. Accepted IDs include HGNC, Ensembl genes, dbSNP, ClinVar, HPO, Cosmic, ...", required = false, arity = 1)
1743+
@Parameter(names = {"--xref"}, description = "List of any external reference, these can be genes, proteins or variants. Accepted IDs include HGNC, Ensembl genes, dbSNP, ClinVar, HPO, Cosmic, HGVS ...", required = false, arity = 1)
17441744
public String xref;
17451745

17461746
@Parameter(names = {"--biotype"}, description = "List of biotypes, e.g. protein_coding", required = false, arity = 1)

opencga-client/src/main/R/R/Admin-methods.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# WARNING: AUTOGENERATED CODE
33
#
44
# This code was generated by a tool.
5-
# Autogenerated on: 2024-04-17
5+
# Autogenerated on: 2024-04-25
66
#
77
# Manual changes to this file may cause unexpected behavior in your application.
88
# Manual changes to this file will be overwritten if the code is regenerated.

opencga-client/src/main/R/R/Alignment-methods.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# WARNING: AUTOGENERATED CODE
33
#
44
# This code was generated by a tool.
5-
# Autogenerated on: 2024-04-17
5+
# Autogenerated on: 2024-04-25
66
#
77
# Manual changes to this file may cause unexpected behavior in your application.
88
# Manual changes to this file will be overwritten if the code is regenerated.

opencga-client/src/main/R/R/AllGenerics.R

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ##############################################################################
22
## UserClient
3-
setGeneric("userClient", function(OpencgaR, filterId, user, users, endpointName, params=NULL, ...)
3+
setGeneric("userClient", function(OpencgaR, users, user, filterId, endpointName, params=NULL, ...)
44
standardGeneric("userClient"))
55

66
# ##############################################################################
@@ -10,42 +10,42 @@ setGeneric("projectClient", function(OpencgaR, projects, project, endpointName,
1010

1111
# ##############################################################################
1212
## StudyClient
13-
setGeneric("studyClient", function(OpencgaR, templateId, variableSet, members, study, group, studies, endpointName, params=NULL, ...)
13+
setGeneric("studyClient", function(OpencgaR, studies, members, variableSet, group, templateId, study, endpointName, params=NULL, ...)
1414
standardGeneric("studyClient"))
1515

1616
# ##############################################################################
1717
## FileClient
18-
setGeneric("fileClient", function(OpencgaR, files, members, folder, file, annotationSet, endpointName, params=NULL, ...)
18+
setGeneric("fileClient", function(OpencgaR, members, file, folder, annotationSet, files, endpointName, params=NULL, ...)
1919
standardGeneric("fileClient"))
2020

2121
# ##############################################################################
2222
## JobClient
23-
setGeneric("jobClient", function(OpencgaR, jobs, job, members, endpointName, params=NULL, ...)
23+
setGeneric("jobClient", function(OpencgaR, jobs, members, job, endpointName, params=NULL, ...)
2424
standardGeneric("jobClient"))
2525

2626
# ##############################################################################
2727
## SampleClient
28-
setGeneric("sampleClient", function(OpencgaR, samples, annotationSet, members, sample, endpointName, params=NULL, ...)
28+
setGeneric("sampleClient", function(OpencgaR, annotationSet, members, samples, sample, endpointName, params=NULL, ...)
2929
standardGeneric("sampleClient"))
3030

3131
# ##############################################################################
3232
## IndividualClient
33-
setGeneric("individualClient", function(OpencgaR, annotationSet, individuals, members, individual, endpointName, params=NULL, ...)
33+
setGeneric("individualClient", function(OpencgaR, annotationSet, individual, members, individuals, endpointName, params=NULL, ...)
3434
standardGeneric("individualClient"))
3535

3636
# ##############################################################################
3737
## FamilyClient
38-
setGeneric("familyClient", function(OpencgaR, family, families, members, annotationSet, endpointName, params=NULL, ...)
38+
setGeneric("familyClient", function(OpencgaR, family, members, annotationSet, families, endpointName, params=NULL, ...)
3939
standardGeneric("familyClient"))
4040

4141
# ##############################################################################
4242
## CohortClient
43-
setGeneric("cohortClient", function(OpencgaR, cohorts, annotationSet, cohort, members, endpointName, params=NULL, ...)
43+
setGeneric("cohortClient", function(OpencgaR, annotationSet, members, cohort, cohorts, endpointName, params=NULL, ...)
4444
standardGeneric("cohortClient"))
4545

4646
# ##############################################################################
4747
## PanelClient
48-
setGeneric("panelClient", function(OpencgaR, panels, members, endpointName, params=NULL, ...)
48+
setGeneric("panelClient", function(OpencgaR, members, panels, endpointName, params=NULL, ...)
4949
standardGeneric("panelClient"))
5050

5151
# ##############################################################################
@@ -60,7 +60,7 @@ setGeneric("variantClient", function(OpencgaR, endpointName, params=NULL, ...)
6060

6161
# ##############################################################################
6262
## ClinicalClient
63-
setGeneric("clinicalClient", function(OpencgaR, members, clinicalAnalyses, clinicalAnalysis, interpretation, annotationSet, interpretations, endpointName, params=NULL, ...)
63+
setGeneric("clinicalClient", function(OpencgaR, members, clinicalAnalyses, annotationSet, interpretations, interpretation, clinicalAnalysis, endpointName, params=NULL, ...)
6464
standardGeneric("clinicalClient"))
6565

6666
# ##############################################################################
@@ -75,7 +75,7 @@ setGeneric("metaClient", function(OpencgaR, endpointName, params=NULL, ...)
7575

7676
# ##############################################################################
7777
## GA4GHClient
78-
setGeneric("ga4ghClient", function(OpencgaR, file, study, endpointName, params=NULL, ...)
78+
setGeneric("ga4ghClient", function(OpencgaR, study, file, endpointName, params=NULL, ...)
7979
standardGeneric("ga4ghClient"))
8080

8181
# ##############################################################################

opencga-client/src/main/R/R/Clinical-methods.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# WARNING: AUTOGENERATED CODE
33
#
44
# This code was generated by a tool.
5-
# Autogenerated on: 2024-04-17
5+
# Autogenerated on: 2024-04-25
66
#
77
# Manual changes to this file may cause unexpected behavior in your application.
88
# Manual changes to this file will be overwritten if the code is regenerated.
@@ -61,7 +61,7 @@
6161
#' [*]: Required parameter
6262
#' @export
6363

64-
setMethod("clinicalClient", "OpencgaR", function(OpencgaR, members, clinicalAnalyses, clinicalAnalysis, interpretation, annotationSet, interpretations, endpointName, params=NULL, ...) {
64+
setMethod("clinicalClient", "OpencgaR", function(OpencgaR, members, clinicalAnalyses, annotationSet, interpretations, interpretation, clinicalAnalysis, endpointName, params=NULL, ...) {
6565
switch(endpointName,
6666

6767
#' @section Endpoint /{apiVersion}/analysis/clinical/acl/{members}/update:
@@ -541,7 +541,7 @@ setMethod("clinicalClient", "OpencgaR", function(OpencgaR, members, clinicalAnal
541541
#' @param approximateCountSamplingSize Sampling size to get the approximate count. Larger values increase accuracy but also increase execution time.
542542
#' @param savedFilter Use a saved filter at User level.
543543
#' @param includeInterpretation Interpretation ID to include the fields related to this interpretation.
544-
#' @param id List of IDs, these can be rs IDs (dbSNP) or variants in the format chrom:start:ref:alt, e.g. rs116600158,19:7177679:C:T.
544+
#' @param id List of variant IDs in the format chrom:start:ref:alt, e.g. 19:7177679:C:T.
545545
#' @param region List of regions, these can be just a single chromosome name or regions in the format chr:start-end, e.g.: 2,3:100000-200000.
546546
#' @param type List of types, accepted values are SNV, MNV, INDEL, SV, COPY_NUMBER, COPY_NUMBER_LOSS, COPY_NUMBER_GAIN, INSERTION, DELETION, DUPLICATION, TANDEM_DUPLICATION, BREAKEND, e.g. SNV,INDEL.
547547
#' @param study Filter variants from the given studies, these can be either the numeric ID or the alias with the format user@project:study.
@@ -568,7 +568,7 @@ setMethod("clinicalClient", "OpencgaR", function(OpencgaR, members, clinicalAnal
568568
#' @param familyProband Specify the proband child to use for the family segregation.
569569
#' @param gene List of genes, most gene IDs are accepted (HGNC, Ensembl gene, ...). This is an alias to 'xref' parameter.
570570
#' @param ct List of SO consequence types, e.g. missense_variant,stop_lost or SO:0001583,SO:0001578. Accepts aliases 'loss_of_function' and 'protein_altering'.
571-
#' @param xref List of any external reference, these can be genes, proteins or variants. Accepted IDs include HGNC, Ensembl genes, dbSNP, ClinVar, HPO, Cosmic, ...
571+
#' @param xref List of any external reference, these can be genes, proteins or variants. Accepted IDs include HGNC, Ensembl genes, dbSNP, ClinVar, HPO, Cosmic, HGVS ...
572572
#' @param biotype List of biotypes, e.g. protein_coding.
573573
#' @param proteinSubstitution Protein substitution scores include SIFT and PolyPhen. You can query using the score {protein_score}[<|>|<=|>=]{number} or the description {protein_score}[~=|=]{description} e.g. polyphen>0.1,sift=tolerant.
574574
#' @param conservation Filter by conservation score: {conservation_score}[<|>|<=|>=]{number} e.g. phastCons>0.5,phylop<0.1,gerp>0.1.

opencga-client/src/main/R/R/Cohort-methods.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# WARNING: AUTOGENERATED CODE
33
#
44
# This code was generated by a tool.
5-
# Autogenerated on: 2024-04-17
5+
# Autogenerated on: 2024-04-25
66
#
77
# Manual changes to this file may cause unexpected behavior in your application.
88
# Manual changes to this file will be overwritten if the code is regenerated.
@@ -39,7 +39,7 @@
3939
#' [*]: Required parameter
4040
#' @export
4141

42-
setMethod("cohortClient", "OpencgaR", function(OpencgaR, cohorts, annotationSet, cohort, members, endpointName, params=NULL, ...) {
42+
setMethod("cohortClient", "OpencgaR", function(OpencgaR, annotationSet, members, cohort, cohorts, endpointName, params=NULL, ...) {
4343
switch(endpointName,
4444

4545
#' @section Endpoint /{apiVersion}/cohorts/acl/{members}/update:

opencga-client/src/main/R/R/Family-methods.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# WARNING: AUTOGENERATED CODE
33
#
44
# This code was generated by a tool.
5-
# Autogenerated on: 2024-04-17
5+
# Autogenerated on: 2024-04-25
66
#
77
# Manual changes to this file may cause unexpected behavior in your application.
88
# Manual changes to this file will be overwritten if the code is regenerated.
@@ -38,7 +38,7 @@
3838
#' [*]: Required parameter
3939
#' @export
4040

41-
setMethod("familyClient", "OpencgaR", function(OpencgaR, family, families, members, annotationSet, endpointName, params=NULL, ...) {
41+
setMethod("familyClient", "OpencgaR", function(OpencgaR, family, members, annotationSet, families, endpointName, params=NULL, ...) {
4242
switch(endpointName,
4343

4444
#' @section Endpoint /{apiVersion}/families/acl/{members}/update:

0 commit comments

Comments
 (0)