pileup_reader.py
def preprocess_bases(read_bases):
    """ Returns read without irrelevant characters
    
    Parameters
    ----------
    read_bases: str
        Read results for a certain position
        
    Returns
    -------
    str
        Preprocessed read results
    """
    
    read_bases = read_bases.upper().replace(',', '.')
    read_bases = re.sub('\^.', '', read_bases)
    read_bases = re.sub('\$|\*','',read_bases)
    return read_bases
 Returns read without irrelevant characters
    
    Parameters
    ----------
    read_bases: str
        Read results for a certain position
        
    Returns
    -------
    str
        Preprocessed read results
    
Returns read without irrelevant characters
Parameters

str
Read results for a certain position

Returns

str
Preprocessed read results
Returns read without irrelevant characters Parameters str Read results for a certain position Returns str Preprocessed read results
def preprocess_bases(read_bases):
    read_bases = read_bases.upper().replace(',', '.')
    read_bases = re.sub('\^.', '', read_bases)
    read_bases = re.sub('\$|\*','',read_bases)
    return read_bases
def preprocess_bases ( read_bases ) : read_bases = read_bases . upper ( ) . replace ( ',' , '.' ) read_bases = re . sub ( '\^.' , '' , read_bases ) read_bases = re . sub ( '\$|\*' , '' , read_bases ) return read_bases
Returns read without irrelevant characters
Parameters
Returns read without irrelevant characters Parameters
""" Returns read without irrelevant characters
    
    Parameters
    ----------
    read_bases: str
        Read results for a certain position
        
    Returns
    -------
    str
        Preprocessed read results
    """
read_bases