Skip to content

Commit

Permalink
artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
cossio committed Mar 15, 2024
1 parent da9cd23 commit 07de57e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion repl/logo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import FASTX
import Makie
using Base: front
using LogExpFunctions: xlogx
using SequenceLogos: __example_fasta, makie_sequence_logo!
using SequenceLogos: __example_fasta
using SequenceLogos: makie_sequence_logo!
using Statistics: mean

records = collect(FASTX.FASTA.Reader(open(__example_fasta())))
Expand Down
5 changes: 1 addition & 4 deletions src/SequenceLogos.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ using LazyArtifacts: LazyArtifacts
#include("pyplot.jl")
#include("bio.jl")
include("makie.jl")

function __example_fasta()
return joinpath(artifact"RF00162_trimmed", "RF00162-trimmed.afa")
end
include("artifacts.jl")

end # module
3 changes: 3 additions & 0 deletions src/artifacts.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function __example_fasta()
return joinpath(artifact"RF00162_trimmed", "RF00162-trimmed.afa")
end

0 comments on commit 07de57e

Please sign in to comment.