Skip to content

Commit

Permalink
Merge pull request #128 from cyenyxe/feature/annotation-collection
Browse files Browse the repository at this point in the history
Versioned VEP annotation + new collection
  • Loading branch information
jorizci authored Sep 28, 2017
2 parents a34ebb3 + 9154295 commit 9f79a2b
Show file tree
Hide file tree
Showing 175 changed files with 4,460 additions and 3,090 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Database name and collection names can be specified with these parameters. To se
* `db.collections.variants.name`: Main collection. Has variant coordinates, sample information, and some statistics and annotation.
* `db.collections.files.name`: File (and study) metadata information.
* `db.collections.stats.name`: Main collection for statistics. The variants collection might contain a subset of this.
* `db.collections.annotation.metadata.name`: Main collection for annotation. The variants collection might contain a subset of this.
* `db.collections.annotation-metadata.name`: Main collection for annotation. The variants collection might contain a subset of this.

#### Configuration of third party applications

Expand Down
35 changes: 35 additions & 0 deletions examples/annotate-variants-job.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# JOB
spring.batch.job.names=annotate-variants-job

# SUBMISSION FIELDS
input.vcf.id=1234
input.study.id=2345

input.fasta=/path/to/homo_sapiens/sequence.fa

output.dir.annotation=/path/to/annotation-files/


# VEP
app.vep.path=/path/to/variant_effect_predictor.pl
app.vep.cache.path=/path/to/vep/cache_folder
app.vep.cache.version=82
app.vep.version=82
app.vep.cache.species=homo_sapiens
app.vep.num-forks=4
app.vep.timeout=600

# STEPS MANAGEMENT
config.chunk.size=1000

## Skip steps
annotation.overwrite=false

# Database configuration
spring.data.mongodb.database=
# TODO The following 2 properties will be used exclusive after removing readers and writers dependency
# on OpenCGA. At the moment they need to be specified in both.
db.collections.files.name=files
db.collections.variants.name=variants
db.collections.annotation-metadata.name=annotationMetadata
db.collections.annotations.name=annotations
2 changes: 1 addition & 1 deletion examples/application.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# EXECUTION PROFILE
## "production" to keep track of half-executed jobs using a job repository database
## "test" to use an in-memory database that will record a single run
spring.profiles.active=production
spring.profiles.active=production,mongo


# OpenCGA
Expand Down
1 change: 1 addition & 0 deletions examples/drop-study-job.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ spring.data.mongodb.database=your_db

db.collections.variants.name=variants
db.collections.files.name=files
db.collections.annotations.name=annotations

4 changes: 3 additions & 1 deletion examples/load-aggregated-vcf.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ config.chunk.size=1000
## Skip steps
statistics.skip=false
annotation.skip=false
annotation.overwrite=false

# Database configuration
spring.data.mongodb.database=
# TODO The following 2 properties will be used exclusive after removing readers and writers dependency
# on OpenCGA. At the moment they need to be specified in both.
db.collections.files.name=files
db.collections.variants.name=variants
db.collections.annotation.metadata.name=annotationMetadata
db.collections.annotation-metadata.name=annotationMetadata
db.collections.annotations.name=annotations
4 changes: 3 additions & 1 deletion examples/load-genotyped-vcf.properties
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,13 @@ config.chunk.size=1000
## Skip steps
statistics.skip=false
annotation.skip=false
annotation.overwrite=false

# Database configuration
spring.data.mongodb.database=
# TODO The following 2 properties will be used exclusive after removing readers and writers dependency
# on OpenCGA. At the moment they need to be specified in both.
db.collections.files.name=files
db.collections.variants.name=variants
db.collections.annotation.metadata.name=annotationMetadata
db.collections.annotation-metadata.name=annotationMetadata
db.collections.annotations.name=annotations

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9f79a2b

Please sign in to comment.