PMBio / deeprvat

Other
31 stars 2 forks source link

Simplify configuration file for running deepRVAT #99

Closed meyerkm closed 3 months ago

meyerkm commented 4 months ago

What

Allows users to interact with a deeprvat_input_config.yaml that is a more simplified configuration file with only those parameters most relevant to users. The main deeprvat_config.yaml used for the pipelines is then created automatically based on the input from deeprvat_input_config.yaml, when running a pipeline.

Testing

Testing this PR involved running the various deepRVAT pipelines using the respective deeprvat_input_config.yaml(see specific pipeline input configs in '/example/config/' ) . Subsequently, then testing all pipeline scripts requiring the generated deeprvat_config.yaml file.

Instructions

Run your desired training and/or association testing snakemake pipeline, i.e. training_association_testing.snakefile. The snakemake pipeline expects the generated deeprvat_config.yaml file. If deeprvat_config.yaml has not been previously generated or supplied via the snakemake --configfile argument, then the pipelines expects a 'deeprvat_input_config.yaml' file to be present in the working directory. Then the snakemake pipeline will automatically generate the necessary deeprvat_config.yaml into your working directory based on 'deeprvat_input_config.yaml'.