Class JavascriptVariantFilter

    • Constructor Detail

      • JavascriptVariantFilter

        public JavascriptVariantFilter​(File scriptFile,
                                       VCFHeader header)
                                throws IOException
        constructor using a javascript File
        Parameters:
        scriptFile - the javascript file to be compiled
        header - the SAMHeader
        Throws:
        IOException
      • JavascriptVariantFilter

        public JavascriptVariantFilter​(Reader scriptReader,
                                       VCFHeader header)
                                throws IOException
        constructor using a Reader
        Parameters:
        scriptReader - the reader for the script to be compiled. Will be closed
        header - the SAMHeader
        Throws:
        IOException
      • JavascriptVariantFilter

        public JavascriptVariantFilter​(String scriptExpression,
                                       VCFHeader header)
        constructor using a javascript expression
        Parameters:
        scriptExpression - the javascript expression to be compiled
        header - the SAMHeader