swell/swell.py
def swell_from_fasta_seq(seq, fasta_path="", header=""):
    '''
    Calculate fasta statistics directly from a sequence.
    '''
    rows = [[fasta_path, header] + calculate_fasta_stats(seq)]
    return ["fasta_path", "header", "num_seqs", "num_bases", "pc_acgt", "pc_masked", "pc_invalid", "pc_ambiguous", "longest_gap", "longest_ungap"], rows

    Calculate fasta statistics directly from a sequence.
    
Calculate fasta statistics directly from a sequence.
Calculate fasta statistics directly from a sequence .
def swell_from_fasta_seq(seq, fasta_path="", header=""):
    rows = [[fasta_path, header] + calculate_fasta_stats(seq)]
    return ["fasta_path", "header", "num_seqs", "num_bases", "pc_acgt", "pc_masked", "pc_invalid", "pc_ambiguous", "longest_gap", "longest_ungap"], rows
def swell_from_fasta_seq ( seq , fasta_path = "" , header = "" ) : rows = [ [ fasta_path , header ] + calculate_fasta_stats ( seq ) ] return [ "fasta_path" , "header" , "num_seqs" , "num_bases" , "pc_acgt" , "pc_masked" , "pc_invalid" , "pc_ambiguous" , "longest_gap" , "longest_ungap" ] , rows
Calculate fasta statistics directly from a sequence.
Calculate fasta statistics directly from a sequence .
'''
    Calculate fasta statistics directly from a sequence.
    '''
seq
fasta_path
header