Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><title>OncExpress:Analyze</title>
<link media="screen, projection" type="text/css" href="./include/blueprint/screen.css" rel="stylesheet">
<link rel="stylesheet" href="http://www.blueprintcss.org/blueprint/screen.css" type="text/css" media="screen, projection">
<style type="text/css" >
div.cart {
clear:both;
package org.zertz.genesearch.web.ajax;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.web.servlet.mvc.SimpleFormController;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.view.AbstractView;
import org.springframework.core.io.Resource;
import javax.servlet.http.HttpServletRequest;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head><title>ProbeSearch</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" href="./include/blueprint/screen.css" type="text/css" media="screen, projection"/>
<link rel="stylesheet" href="./include/blueprint/ie.css" type="text/css" media="screen, projection"/>
<link rel="stylesheet" type="text/css" href="./include/genesearch.css" />
@mdjones
mdjones / SimplePeptide.py
Last active March 10, 2018 23:42
SimplePeptide class for matching [IL] isobaric peptides
class SimplePeptide:
"""
This allows comparisons between peptide sequences that are nearly identical
except for the Isboaric Isoleucine and Leucine [IL]. MS Proteomics is based on
identifying peptides based on their fragment mass profiles. Since [IL] have the
same mass they can not be differentiated.
The equals is acomplished by a simple replacement of all r'[IL]' in the sequence with
the string [IL]. Then an exact match (No Regex matching needed) is the most efficient
way to match two peptides.