Running script to generate unique motifs from miRBase - Gu-Lab-RBL-NCI/QuagmiR GitHub Wiki
Generates unique motifs for miRNA of all species while taking into account indistinguishable miRNA (dupli-miRNA) and paralogs
Dependencies
- Download miRNA.xls.gz or miRNA.xls.zip from miRBase and unzip file
- Locate script: /Motifs/reports/getUniqueMirbaseMotif.R
Setup
- Change
base_pathvariable to directory where downloaded miRBase file is located (e.g. '/Users/doejohn/Documents/motifs/') - Change
motif_lenvariable to desired motif length - Change
include_posvariable toTto include motif position in fasta file andFto exclude - Change
motif_startvariable to where the motif should be created from the sequence - Run script
Output
motif_list_species_mirbase_22.farecords all found unique motifs in fasta formatspecies-miRBase22.tsvrecords indistinguishable miRNA (dupli-miRNA), paralogs, all generated miRNA IDs, motifs, and miRBase datamotif_coverage.tsvrecords the percent of miRNA for which a unique motif was found
Compiled motif list
- A list unique miRNA motifs for organisms reported in miRBase22 can be found here.