If the chromosome name doesn't present in the index, the program will crash with error message:
"
ERROR: Value cannot be null. (Parameter 'key')
Stack trace:
at System.Collections.Generic.Dictionary2.FindValue(TKey key) at Jasix.QueryProcessor.ProcessQuery(IEnumerable1 queryStrings, Boolean printHeader) in /home/ubuntu/fan_attempt/post_production/annotation/Nirvana/Jasix/QueryProcessor.cs:line 94
at Jasix.JasixMain.ProgramExecution() in /home/ubuntu/fan_attempt/post_production/annotation/Nirvana/Jasix/JasixMain.cs:line 129
at CommandLine.Builders.ConsoleAppErrors.Execute(Func`1 executeMethod) in /home/ubuntu/fan_attempt/post_production/annotation/Nirvana/CommandLine/Builders/ConsoleAppBuilder.cs:line 162
"
It would be better to just output an empty json file without crashing.
https://github.com/Illumina/Nirvana/blob/05f88047f4c9e79e54ed6b6482549258596bb146/Jasix/QueryProcessor.cs#L94
If the chromosome name doesn't present in the index, the program will crash with error message: " ERROR: Value cannot be null. (Parameter 'key')
Stack trace: at System.Collections.Generic.Dictionary
2.FindValue(TKey key) at Jasix.QueryProcessor.ProcessQuery(IEnumerable
1 queryStrings, Boolean printHeader) in /home/ubuntu/fan_attempt/post_production/annotation/Nirvana/Jasix/QueryProcessor.cs:line 94 at Jasix.JasixMain.ProgramExecution() in /home/ubuntu/fan_attempt/post_production/annotation/Nirvana/Jasix/JasixMain.cs:line 129 at CommandLine.Builders.ConsoleAppErrors.Execute(Func`1 executeMethod) in /home/ubuntu/fan_attempt/post_production/annotation/Nirvana/CommandLine/Builders/ConsoleAppBuilder.cs:line 162 "It would be better to just output an empty json file without crashing.