@@ -540,7 +540,8 @@ public Output processVariants(File inputVCF, File outputDirectory, ReferenceGeno
540540 addToolFieldNames ("Funcotator" , "-ff" , options , multiAnnotated .getParentFile (), output , liftFields );
541541 }
542542
543- addToolFieldNames ("SnpSift" , "-ssf" , options , multiAnnotated .getParentFile (), output , liftFields );
543+ addToolFieldNames ("SnpSift" , "-ssf" , options , multiAnnotated .getParentFile (), output , liftFields , SOURCE_FIELDS );
544+ addToolFieldNames ("SnpSift" , "-rssf" , options , multiAnnotated .getParentFile (), output , liftFields , TARGET_FIELDS );
544545
545546 maRunner .execute (inputVCF , cassandraAnnotatedBackport , liftoverRejects , funcotatorAnnotatedBackport , snpSiftAnnotatedBackport , multiAnnotated , options );
546547 }
@@ -566,7 +567,12 @@ private File getFieldConfigFile()
566567
567568 private void addToolFieldNames (String toolName , String argName , List <String > options , File outDir , VariantProcessingStepOutputImpl output , @ Nullable List <String > extraFields ) throws PipelineJobException
568569 {
569- List <String > fields = getCachedFields (TARGET_FIELDS , toolName );
570+ addToolFieldNames (toolName , argName , options , outDir , output , extraFields , TARGET_FIELDS );
571+ }
572+
573+ private void addToolFieldNames (String toolName , String argName , List <String > options , File outDir , VariantProcessingStepOutputImpl output , @ Nullable List <String > extraFields , @ Nullable String type ) throws PipelineJobException
574+ {
575+ List <String > fields = getCachedFields (type , toolName );
570576 File fieldFile = new File (outDir , toolName + "Fields.args" );
571577 try (PrintWriter writer = PrintWriters .getPrintWriter (fieldFile ))
572578 {
0 commit comments