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

Add function to get chromosome naming convention #71

Open
madisonjordan opened this issue Jan 31, 2023 · 1 comment
Open

Add function to get chromosome naming convention #71

madisonjordan opened this issue Jan 31, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@madisonjordan
Copy link
Contributor

madisonjordan commented Jan 31, 2023

Add a function to get the variant chr naming convention of a single bed/vcf file. Only checks the chromosome naming convention (chr1 vs 1). I think this is related to the assembly used.
Used in RecSNV, originally called vcf_checker and bed_checker, where the purpose seems to be to ensure the files are all using the same naming convention and that the naming connection matches a FASTA file. See validate_inputs function.

See code and discussion in https://github.com/uclahs-cds/pipeline-RecSNV/pull/17#discussion_r1082963532

@madisonjordan
Copy link
Contributor Author

I was thinking a function that gets the naming convention for a single file that way the comparison between them is able to be done in nextflow and reuse the same channel instead of creating a new one for a directory.
There can be a function to compare the outputs of each file that is can be called when it's used outside nextflow that would perform the same function to compare all the files in the specified directory.

@madisonjordan madisonjordan added the enhancement New feature or request label Jan 31, 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