pyfastaq/tasks.py
def acgtn_only(infile, outfile):
    '''Replace every non-acgtn (case insensitve) character with an N'''
    f = utils.open_file_write(outfile)
    for seq in sequences.file_reader(infile):
        seq.replace_non_acgt()
        print(seq, file=f)
    utils.close(f)
def acgtn_only(infile, outfile):
    '''Replace every non-acgtn (case insensitve) character with an N'''
    f = utils.open_file_write(outfile)
    for seq in sequences.file_reader(infile):
        seq.replace_non_acgt()
        print(seq, file=f)
    utils.close(f)
def acgtn_only ( infile , outfile ) : f = utils . open_file_write ( outfile ) for seq in sequences . file_reader ( infile ) : seq . replace_non_acgt ( ) print ( seq , file = f ) utils . close ( f )
Replace every non-acgtn (case insensitve) character with an N
Replace every non - acgtn ( case insensitve ) character with an N