BioJulia/BioSequences.jl

FASTA module not defined

dinesh110598 opened this issue · 1 comments

I'm a new user trying to use the FASTA module from here to read a file. Followed the docs but it seems the module may not be exported properly in v3.0.2.

(@v1.7) pkg> st
      Status `~/.julia/environments/v1.7/Project.toml`
  [7e6ae17a] BioSequences v3.0.2
  [052768ef] CUDA v3.10.1
  [91a5bcdd] Plots v1.31.2
  [c3e4b0f8] Pluto v0.19.9

julia> using BioSequences

julia> r = FASTA.Reader(
           open("/home/dinesh/Downloads/seq.fa", "r"))
ERROR: UndefVarError: FASTA not defined
Stacktrace:
 [1] top-level scope
   @ REPL[10]:1

julia> r = BioSequences.FASTA.Reader(
           open("/home/dinesh/Downloads/seq.fa", "r"))
ERROR: UndefVarError: FASTA not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:35
 [2] top-level scope
   @ REPL[11]:1

FASTA is a module of a different package - FASTX. You'd need to use that separately.