I have been informed it is possible to use FASTX.jl
to index a file. However I am struggling to do this. I think I am meant to use FASTA:Record()
but am unsure how to pass the data to the function.
reader = FASTA.Reader(GzipDecompressorStream(open("D:/OneDrive - University of Copenhagen/PhD/Projects/Termite_metagenomes/assembly/small_megahit_final_assembly.fa.gz")))
indexed = FASTA.Record(reader)
ERROR: MethodError: no method matching FASTX.FASTA.Record(::FASTX.FASTA.Reader{TranscodingStreams.TranscodingStream{GzipDecompressor, IOStream}})