define([
	"dojo/_base/declare",
	'JBrowse/View/TrackList/Faceted'
],
function(declare,Faceted) {
	return declare('WebApollo.View.TrackList.Faceted',Faceted,
	{
		// Subclass method for track selector to remove webapollo specific tracks
		constructor: function() {
            console.log('WebApollo/View/TrackList/Faceted');
			this.inherited(arguments);
			shift(this.config.trackConfigs);//Remove sequence track
			shift(this.config.trackConfigs);//Remove user-created annotations
		}
	});
});


@@ -253,20 +253,24 @@
 unction(
+args
 ) %7B%0A
-
         
@@ -326,165 +326,432 @@
 ');%0A
-%09%09%09this.inherited(arguments);%0A%09%09%09shift(this.config.trackConfigs);//Remove sequence track%0A%09%09%09shift(this.config.trackConfigs);//Remove user-crea
+            for(var index in args.trackMetaData.identIndex) %7B%0A                if(args.trackMetaData.identIndex%5Bindex%5D%5B%22track type%22%5D==%22WebApollo/View/Track/AnnotTrack%22 %7C%7C %0A                   args.trackMetaData.identIndex%5Bindex%5D%5B%22track type%22%5D==%22WebApollo/View/Track/AnnotSequenceTrack%22) %7B%0A                    dele
 te
-d
  a
-nnotations
+rgs.trackMetaData.identIndex%5Bindex%5D;%0A                %7D   %0A            %7D%0A            %0A%09%09%09this.inherited(args);
 %0A%09%09%7D

Remove tracks from the trackMetadata hash