eastgenomics / eggd_generate_variant_workbook

DNAnexus app for generating xlsx variant workbooks
3 stars 0 forks source link

sort merged dataframes of variants #120

Open jethror1 opened 1 year ago

jethror1 commented 1 year ago

when --merge is specified for multiple input VCFs or when multiple are being filtered and combined into one for the exclude sheet, the resultant dataframe should be sorted (and maybe drop duplicate rows?) as currently variants will be out of order:

https://github.com/eastgenomics/eggd_generate_variant_workbook/blob/d0410647590261225528589ee50e6eb864f5c24f/resources/home/dnanexus/generate_workbook/utils/vcf.py#L807-L816

Also this function doesn't have a complete docstring apparently