Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Return whether a string consists of one or more DNA bases.

        def is_proper_strand(strand):
   """Return whether a string consists of one or more DNA bases."""
   return strand and forall(_BASES.__contains__, strand)
        


src/s/m/smash-HEAD/smashbenchmarking/parsers/vcfwriter.py   smash(Download)
        Return whether anything was written.
        """
        write = util.is_proper_strand(REF)
        if write:
            QUAL = 20               # Default 1/100 error probability.

src/s/m/smash-HEAD/smashbenchmarking/parsers/genome.py   smash(Download)
            start = random.randint(0, len(self._fasta[chrom]) - length)
            seq = self.ref(chrom, start, start + length)
            if util.is_proper_strand(seq):
                return seq