Molecular circuits in thrombosis and inflammation