simpleaf

A rust framework to make using alevin-fry even simpler.

Using simpleaf

The simpleaf program is intended to simply the running of alevin-fry in common usage scenarios. By limiting some of the different options that can be set, it provides a streamlined way to build the splici reference and index in a single command, as well as to process an experiment from raw FASTQ files to a count matrix in a single command.

To work properly, simpleaf has a few requirements. Specifically, you should have pyroe (>=0.6.2), salmon (>=1.5.1), and alevin-fry (>=0.6.0) installed. These can either simply be in your PATH variable, or you can explicily provide the path to them using the set-paths command of simpleaf, which will then cache them in a JSON file in your ALEVIN_FRY_HOME directory. Additionally, simpleaf requires the following environment variable to be present when it is executed :

```{bash} USAGE: simpleaf set-paths [OPTIONS]

OPTIONS: -a, --alevin-fry path to alein-fry to use -h, --help Print help information -p, --pyroe path to pyroe to use -s, --salmon path to salmon to use ```

OPTIONS: -d, --dedup deduplicate identical sequences inside the R script when building the splici reference -f, --fasta reference genome -g, --gtf reference GTF file -h, --help Print help information -o, --output path to output directory (will be created if it doesn't exist) -p, --sparse if this flag is passed, build the sparse rather than dense index for mapping -r, --rlen the target read length the index will be built for -s, --spliced path to FASTA file with extra spliced sequence to add to the index -t, --threads number of threads to use when running [default: min(16, num cores)]" [default: 16] -u, --unspliced path to FASTA file with extra unspliced sequence to add to the index ```

OPTIONS: -1, --reads1 path to read 1 files -2, --reads2 path to read 2 files -c, --chemistry chemistry -e, --expect-cells use expected number of cells -f, --forced-cells use forced number of cells -h, --help Print help information -i, --index path to index -k, --knee use knee filtering mode -m, --t2g-map transcript to gene map -o, --output output directory -r, --resolution resolution mode [possible values: cr-like, cr-like-em, parsimony, parsimony-em, parsimony-gene, parsimony-gene-em] -t, --threads number of threads to use when running [default: min(16, num cores)]" [default: 16] -u, --unfiltered-pl use unfiltered permit list -x, --explicit-pl use a filtered, explicit permit list ```