Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/c/g/cgat-HEAD/scripts/filter_reads.py   cgat(Download)
        total_reads += 1
        my_read = Seq(sread[1], generic_dna)
        a = my_read.count("A")
        c = my_read.count("C")
        t = my_read.count("T")
        g = my_read.count("G")

src/a/r/ARC-HEAD/ARC/runners/finisher.py   ARC(Download)
                        contig.seq = Seq(str(self.mask_seq(contig.seq.tostring())))
                    #Bowtie2 crashes if a contig is all 'n' so only write it out if it isn't
                    if len(contig.seq) != contig.seq.count('n'):
                        SeqIO.write(contig, outf, "fasta")
                contig_inf.close()