Computational design and sensing algorithms for nanopore-based molecular tagging and peptide detection