salmon/salmon_index
Description
Salmon is a tool for wicked-fast transcript quantification from RNA-seq data. It can either make use of pre-computed alignments (in the form of a SAM/BAM file) to the transcripts rather than the raw reads, or can be run in the mapping-based mode. This component creates a salmon index for the transcriptome to use Salmon in the mapping-based mode. It is generally recommend that you build a decoy-aware transcriptome file. This is done using the entire genome of the organism as the decoy sequence by concatenating the genome to the end of the transcriptome to be indexed and populating the decoys.txt file with the chromosome names.
Inputs
Name | Type & Properties | Description |
|---|---|---|
--genome | file | Genome of the organism to prepare the set of decoy sequences. Required to build decoy-aware transcriptome. |
--transcripts -t | file required | Transcript fasta file. |
--kmer_len -k | integer | The size of k-mers that should be used for the quasi index. |
--gencode | boolean_true | This flag will expect the input transcript fasta to be in GENCODE format, and will split the transcript name at the first '|' character. These reduced names will be used in the output and when looking for these transcripts in a gene to transcript GTF. |
--features | boolean_true | This flag will expect the input reference to be in the tsv file format, and will split the feature name at the first 'tab' character. These reduced names will be used in the output and when looking for the sequence of the features.GTF. |
--keep_duplicates | boolean_true | This flag will disable the default indexing behavior of discarding sequence-identical duplicate transcripts. If this flag is passed, then duplicate transcripts that appear in the input will be retained and quantified separately. |
--keep_fixed_fasta | boolean_true | Retain the fixed fasta file (without short transcripts and duplicates, clipped, etc.) generated during indexing. |
--filter_size -f | integer | The size of the Bloom filter that will be used by TwoPaCo during indexing. The filter will be of size 2^{filter_size}. The default value of -1 means that the filter size will be automatically set based on the number of distinct k-mers in the input, as estimated by nthll. |
--sparse | boolean_true | Build the index using a sparse sampling of k-mer positions This will require less memory (especially during quantification), but will take longer to construct and can slow down mapping / alignment. |
--decoys -d | file | Treat these sequences ids from the reference as the decoys that may have sequence homologous to some known transcript. For example in case of the genome, provide a list of chromosome names (one per line). |
--no_clip | boolean_true | Don't clip poly-A tails from the ends of target sequences. |
--type -n | string | The type of index to build; the only option is "puff" in this version of salmon. |
Output
Name | Type & Properties | Description |
|---|---|---|
--index -i | file required output | Salmon index |
Run this component
Run the following command to execute this component with Nextflow:
cat > params.yaml <<'EOM'
index: "$id.$key.index.Salmon_index"
id: "run"
publish_dir: "output/"
EOM
nextflow run https://packages.viash-hub.com/vsh/biobox.git \
-revision v0.3.0 \
-main-script target/nextflow/salmon/salmon_index/main.nf \
-params-file params.yaml Relationships
Used by
No components use this component.
Current component
Uses
No component dependencies found.