mapping_rnaseq_data_to_your_genome
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mapping_rnaseq_data_to_your_genome [2024/02/23 09:31] – 134.190.232.164 | mapping_rnaseq_data_to_your_genome [2024/10/25 15:20] (current) – [What the script does] 134.190.144.194 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Mapping RNAseq data to your genome ====== | ====== Mapping RNAseq data to your genome ====== | ||
| - | Initially written by I don't know who. Updated by Joran Martijn, December 2023 | + | Initially written by I don't know who. Updated by Joran Martijn, December 2023. (Minor update, KW, Oct 2024) |
| Line 113: | Line 113: | ||
| # indicate one or more files containing unpaired reads | # indicate one or more files containing unpaired reads | ||
| -U forward_unpaired.fastq, | -U forward_unpaired.fastq, | ||
| + | |||
| + | # set the maximum (MX) and minimum (MN) mismatch penalties. Default: MX = 6, MN = 2. | ||
| + | # NOTE: you may have to increase this to get the optimal mapping of a read across an intron! | ||
| + | # I have noticed this is not always the case with the default penalty settings, | ||
| + | # so it is good to check -Kelsey Williamson | ||
| + | --mp MX,MN | ||
| + | |||
| + | # set the penalty for non-canonical splice sites (non-GT/AG) - default is 12 | ||
| + | # so if your genome uses non-canonical splice sites, you want to set this to 0 | ||
| + | --pen-noncansplice <int> | ||
| </ | </ | ||
| Line 180: | Line 190: | ||
| samtools index $BAM | samtools index $BAM | ||
| </ | </ | ||
| + | |||
| + | To execute this script, copy this script to your working directory, and replace the input and output shell variables with your own reads and assembly files. Then simply invoke the script with '' | ||
| + | |||
| + | Minimap2 has a rich set of parameters that you can finely tune (see also its [[https:// | ||
| + | |||
| + | For mapping long read RNAseq data, we can use the preset '' | ||
| + | |||
| + | I think these parameters are particularly tuned for Human / Mouse genomes because '' | ||
| + | |||
| + | < | ||
| + | minimap2 -ax splice $ASSEMBLY $READS -t $THREADS -G250 --splice-flank=no | ||
| + | </ | ||
mapping_rnaseq_data_to_your_genome.1708695088.txt.gz · Last modified: by 134.190.232.164
