Sample Analyses deletion
Currently clicking the remove icon on an analysis listing for a sample removes it from the UI and sends the appropriate DELETE request, but on page reload/navigation it seems the analysis is not actually deleted on the server. 
diff --git a/virtool/api/analyses.py b/virtool/api/analyses.py
index f65ce63ff..8608ff679 100644
--- a/virtool/api/analyses.py
+++ b/virtool/api/analyses.py
@@ -68,6 +68,8 @@ async def remove(req):
     if not document["ready"]:
         return conflict("Analysis is still running")
 
+    await db.analyses.delete_one({"_id": analysis_id})
+
     return no_content()
 
 
['virtool/api/analyses.py']