Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement filter_phenotypes.sh in filter_variants.sh #6

Open
3 of 4 tasks
berntpopp opened this issue Nov 14, 2023 · 0 comments
Open
3 of 4 tasks

Implement filter_phenotypes.sh in filter_variants.sh #6

berntpopp opened this issue Nov 14, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@berntpopp
Copy link
Member

berntpopp commented Nov 14, 2023

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:

  • Add new arguments: Add arguments to specify the location of the "filter_phenotypes.sh" script, the phenotype input file, and a flag to request phenotype output.
  • Handle new arguments and conditions: Modify the "filter_variants.sh" script to parse and handle these new arguments. Include logic to call "filter_phenotypes.sh" under the appropriate conditions.
  • Manage output formats: Handle different output scenarios (XLSX, TSV, STDOUT) as specified.
  • Requires Implement sheet handling in tsv_to_excel.R script #10
@berntpopp berntpopp added the enhancement New feature or request label Nov 14, 2023
@berntpopp berntpopp self-assigned this Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant