src/package.lisp @ 7fcd748a4f00

LCSQ, PRSM
author Steve Losh <steve@stevelosh.com>
date Mon, 08 Aug 2022 19:00:58 -0400
parents cd3fc11e3298
children (none)
(defpackage :rosalind/utils
  (:nicknames :u)
  (:use :cl :iterate :losh)
  (:import-from :alexandria
    :curry :rcurry :compose
    :ensure-gethash
    :with-gensyms :once-only :symbolicate)
  (:export
    :curry :rcurry :compose
    :ensure-gethash
    :with-gensyms :once-only :symbolicate

    :define-problem :solve

    :factorial

    :permutations

    :dna-complement :reverse-complement :nreverse-complement
    :transcribe :ntranscribe
    :translate

    :+monoisotopic-mass-of-water+
    :monoisotopic-mass
    :residue-with-mass
    :*monoisotopic-masses*

    :gcp :base-probability :sequence-probability

    :mapcount

    :hamming

    :string-empty-p
    :strjoin
    :first-char

    :Σ :Π :binomial-coefficient

    :returning-final :summing* :multiplying*

    :read-lines
    :read-fasta
    :read-fasta-into-hash-table
    :read-fasta-into-alist

    :buffering

    :uniprot

    :float-string

    :run-tests :solve))

(defpackage :rosalind
  (:import-from :rosalind/utils :run-tests :define-problem :solve)
  (:export :run-tests :define-problem :solve))