File object for bioinformatics pipeline
bioinfo.pipeline.datatype.File object represents a file or an
array of files that you can use in a bioinformatics pipeline. This object ensures that the
file paths can be shared between blocks in a pipeline.
For most workflows, use a
FileChooser block to select input files for
your pipeline. You might create this
File object by itself when you are
implementing your own block subclasses and want to share the files between blocks in your
fileName — File name
string | character vector | ...
File name, specified as a string, character vector, string array, or cell array of character vectors representing multiple file names.
Specify a file name or path and file name if the file is not in the current directory. This object does not use the MATLAB® search path.
|Display full file path and name|
Create File Object for Bioinformatics Pipeline
file1 = which("SRR6008575_10k_1.fq"); fObj = bioinfo.pipeline.datatype.File(file1)
fObj = File with no properties.
unwrap to display the full file path.
Introduced in R2023a