src/package.lisp @ 97dda08645b3 default tip

SCSP
author Steve Losh <steve@stevelosh.com>
date Mon, 08 Aug 2022 19:26:18 -0400
parents 7fcd748a4f00
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))