Check that all required input files are available for alevin-fry

checkAlevinFryInputFiles(mapDir, permitDir, quantDir)

Arguments

mapDir

Path to the directory containing the map.rad file

permitDir

Path to the output directory of the alevin-fry generate-permit-list command.

quantDir

Path to the output of the alevin-fry quant command.

Value

Returns nothing, raises an error if any of the required files are missing.

Author

Charlotte Soneson

Examples

checkAlevinFryInputFiles(
    mapDir = system.file("extdata/alevinfry_example_v0.5.0/map",
                         package = "alevinQC"),
    permitDir = system.file("extdata/alevinfry_example_v0.5.0/permit",
                            package = "alevinQC"),
    quantDir = system.file("extdata/alevinfry_example_v0.5.0/quant",
                           package = "alevinQC"))
#> [1] "v0.5.0"