rnalysis.fastq.kallisto_create_indexο
- rnalysis.fastq.kallisto_create_index(transcriptome_fasta: str | Path, kallisto_installation_folder: str | Path | Literal['auto'] = 'auto', kmer_length: PositiveInt = 31, make_unique: bool = False)ο
builds a kallisto index from a FASTA formatted file of target sequences (transcriptome). The index file will be saved in the same folder as your FASTA file, with the .idx suffix. Be aware that there are pre-built kallisto indices for popular model organisms. These can be downloaded from the kallisto transcriptome indices site.
- Parameters:
transcriptome_fasta (str or Path) β Path to the FASTA file of your desired transcriptome.
kallisto_installation_folder (str, Path, or 'auto' (default='auto')) β Path to the installation folder of kallisto. For example: βC:/Program Files/kallistoβ. if installation folder is set to βautoβ, RNAlysis will attempt to find it automatically.
kmer_length (an odd int between 1 and 31 (default=31)) β k-mer length of the index.
make_unique (bool (default=False)) β if True, replace repeated target names with unique names.