scholl-lab / vcf-filtering

A collection of scripts for filtering annotated variant call format files
MIT License
2 stars 1 forks source link

Implement filter_phenotypes.sh in filter_variants.sh #6

Open berntpopp opened 9 months ago

berntpopp commented 9 months ago

Use our final script "filter_phenotypes.sh" in "filter_variants.sh" to output the phenotypes of all filtered samples. If the xlsx flag is set, the output of filter_phenotypes.sh should be in a separate sheet. If the output is TSV (the default), it will be two files with the same basename and ".phenoytpes" appended before the "filter_phenotypes.sh" output. If the output is stdout, the phenotypes should not be printed. In general, there should be an optional flag to request phenotypes. Also, the location of the "filter_phenotypes.sh script and the input-file argument to it should be added as arguments to this script.

TODO: