Skip to content

IO Functions

# NextGenSeqUtils.read_fastaFunction.

read_fasta(filename; seqtype=String)

Read .fasta file contents, parse, and return sequences as type seqtype

source

# NextGenSeqUtils.read_fasta_with_namesFunction.

read_fasta_with_names(filename; seqtype=String)

Read .fasta file contents, parse, and return names and sequences as type seqtype.

source

# NextGenSeqUtils.read_fasta_with_names_in_other_orderFunction.

read_fasta_with_names_in_other_order(filename; seqtype=String)

Read .fasta file contents, parse, and return sequences as type seqtype with names. Now that's what I call convenience.

source

# NextGenSeqUtils.write_fastaFunction.

write_fasta(filename::String, seqs; names = String[])

Write given seqs and optional names to a .fasta file with given filepath.

source

# NextGenSeqUtils.read_fastqFunction.

read_fastq(filename; seqtype=String)

Read .fastq file contents, parse, and return sequences as seqtype type, phreds, and names.

source

# NextGenSeqUtils.write_fastqFunction.

write_fastq(filename, seqs, phreds::Vector{Vector{Phred}};
                 names=String[], DNASeqType = false)

Write given sequences, phreds, names to .fastq file with given file path. If names not provided, gives names 'seq_1', etc.

source