INNER CODE UNIT · Python

nucl_to_add

HadrienG/InSilicoSeq · iss/error_models/__init__.py:154

                        nucl_to_add = util.rev_comp(full_sequence[read_start - 1 - i])
                    mut_seq.append(nucl_to_add)
            return Seq(mut_seq)

    def introduce_indels(self, record, orientation, full_seq, bounds):
        """Introduce insertions or deletions in a sequence

        Introduce insertion and deletion errors according to the probabilities
        present in the indel choices list


        Args:
            record (SeqRecord): a sequence record
            orientation (string): orientation of the read. Can be 'forward' or
                'reverse'
            full_seq (Seq): the reference sequence from which mut_seq
                comes from
            bounds (tuple): the position of the read in the full_sequence

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…