Hi all, I want to use SnpSift Filter, but each time an error occurred. any idea? thanks in advance. /Sara
Fatal error: Exit code 255 (Error) line 2:0 token recognition error at: '"' java.lang.RuntimeException: java.lang.RuntimeException: LexerNoViableAltException('"') at ca.mcgill.mcb.pcingola.snpSift.lang.LangFactory.compile(LangFactory.java:129) at ca.mcgill.mcb.pcingola.snpSift.SnpSiftCmdFilter.parseExpression(SnpSiftCmdFilter.java:256) at ca.mcgill.mcb.pcingola.snpSift.SnpSiftCmdFilter.run(SnpSiftCmdFilter.java:283) at ca.mcgill.mcb.pcingola.snpSift.SnpSiftCmdFilter.run(SnpSiftCmdFilter.java:269) at ca.mcgill.mcb.pcingola.snpSift.SnpSift.run(SnpSift.java:335) at ca.mcgill.mcb.pcingola.snpSift.SnpSift.main(SnpSift.java:70) Caused by: java.lang.RuntimeException: LexerNoViableAltException('"') at ca.mcgill.mcb.pcingola.snpSift.lang.LangFactory$1.recover(LangFactory.java:118) at org.antlr.v4.runtime.Lexer.nextToken(Lexer.java:169) at org.antlr.v4.runtime.BufferedTokenStream.fetch(BufferedTokenStream.java:187) at org.antlr.v4.runtime.BufferedTokenStream.sync(BufferedTokenStream.java:170) at org.antlr.v4.runtime.BufferedTokenStream.setup(BufferedTokenStream.java:272) at org.antlr.v4.runtime.BufferedTokenStream.lazyInit(BufferedTokenStream.java:267) at org.antlr.v4.runtime.CommonTokenStream.LT(CommonTokenStream.java:118) at org.antlr.v4.runtime.Parser.enterRule(Parser.java:627) at ca.mcgill.mcb.pcingola.snpSift.antlr.SnpSiftParser.compilationUnit(SnpSiftParser.java:86) at ca.mcgill.mcb.pcingola.snpSift.lang.LangFactory.compile(LangFactory.java:126) ... 5 more Caused by: LexerNoViableAltException('"') at org.antlr.v4.runtime.atn.LexerATNSimulator.failOrAccept(LexerATNSimulator.java:329) at org.antlr.v4.runtime.atn.LexerATNSimulator.execATN(LexerATNSimulator.java:250) at org.antlr.v4.runtime.atn.LexerATNSimulator.match(LexerATNSimulator.java:143) at org.antlr.v4.runtime.Lexer.nextToken(Lexer.java:165) ... 13 more SnpSift filter -f /home/galaxy/galaxy/database/files/000/dataset_292.dat -e /home/galaxy/galaxy/database/jobs_directory/000/317/tmpbw3hhh SnpSift version 4.1l (build 2015-10-03), by Pablo Cingolani
Usage: java -jar SnpSift.jar filter [options] 'expression' [input.vcf] Options: -a|--addFilter <str> : Add a string to FILTER VCF field if 'expression' is true. Default: '' (none) -e|--exprFile <file> : Read expression from a file -f|--file <input.vcf> : VCF input file. Default: STDIN -i|--filterId <str> : ID for this filter (##FILTER tag in header and FILTER VCF field). Default: 'SnpSift' -n|--inverse : Inverse. Show lines that do not match filter expression -p|--pass : Use 'PASS' field instead of filtering out VCF entries -r|--rmFilter <str> : Remove a string from FILTER VCF field if 'expression' is true (and 'str' is in the field). Default: '' (none) -s|--set <file> : Create a SET using 'file' --errMissing : Error is a field is missing. Default: false --format <format> : SnpEff format version: {2, 3}. Default: Auto --galaxy : Used from Galaxy (expressions have been sanitized).