flowcraft/templates/process_viral_assembly.py
def get_assembly_length(self):
        """Returns the length of the assembly, without the filtered contigs.

        Returns
        -------
        x : int
            Total length of the assembly.

        """

        return sum(
            [vals["length"] for contig_id, vals in self.contigs.items()
             if contig_id not in self.filtered_ids])
def get_assembly_length(self):
        return sum(
            [vals["length"] for contig_id, vals in self.contigs.items()
             if contig_id not in self.filtered_ids])
def get_assembly_length ( self ) : return sum ( [ vals [ "length" ] for contig_id , vals in self . contigs . items ( ) if contig_id not in self . filtered_ids ] )
Returns the length of the assembly, without the filtered contigs.

        Returns
        -------
        x : int
            Total length of the assembly.
Returns the length of the assembly without the filtered contigs .