@@ -306,8 +306,7 @@ else if (so.getCategory().contains("Lifted"))
306306 }
307307 else if (so .getCategory ().contains ("mGAP Release: Sites Only" ))
308308 {
309- String name = so .getName ().replaceAll (": Sites Only" , "" );
310- sitesOnlyVcfMap .put (name , so );
309+ sitesOnlyVcfMap .put ("mGAP Release: " + releaseVersion , so );
311310 }
312311 else if (so .getCategory ().contains ("Release Track" ) && so .getName ().contains ("Novel Sites" ))
313312 {
@@ -853,12 +852,15 @@ public void processFilesRemote(List<SequenceOutputFile> inputFiles, JobContext c
853852 ctx .getFileManager ().removeIntermediateFile (renamedVcfIdx );
854853 ctx .getFileManager ().addIntermediateFile (renamedVcfDone );
855854
856- SequenceOutputFile output = new SequenceOutputFile ();
857- output .setFile (renamedVcf );
858- output .setName (track .getTrackName ());
859- output .setCategory ("Release Track" );
860- output .setLibrary_id (genome .getGenomeId ());
861- ctx .getFileManager ().addSequenceOutput (output );
855+ if (!track .isPrimary ())
856+ {
857+ SequenceOutputFile output = new SequenceOutputFile ();
858+ output .setFile (renamedVcf );
859+ output .setName (track .getTrackName ());
860+ output .setCategory ("Release Track" );
861+ output .setLibrary_id (genome .getGenomeId ());
862+ ctx .getFileManager ().addSequenceOutput (output );
863+ }
862864 }
863865 }
864866 catch (IOException e )
0 commit comments