berntpopp / variant-linker

MIT License
0 stars 0 forks source link

Enhancement: Implement a `filterFunction` in `variantLinkerProcessor.js` to allow for flexible filtering of the results before formatting and outputting them. #12

Open berntpopp opened 2 weeks ago

berntpopp commented 2 weeks ago

Current Behavior

Currently, the filterFunction in variantLinkerProcessor.js is set to null, and there is no mechanism to filter the results based on specific criteria before formatting and outputting them.

Proposed Solution

  1. Define a Filter Function: Implement a default filterFunction that can be customized to filter results based on various criteria.
  2. Command-Line Argument: Add a command-line argument to allow users to specify their own filtering criteria.
  3. Apply the Filter: Modify the filterAndFormatResults function to apply the filterFunction to the results before formatting.

Acceptance Criteria

berntpopp commented 1 week ago

Relates to #26