rsFlankR is an R project used to retrieve the upstream and downstream flanking sequences from a list of rsIDs along with additional misceallenous data about the SNP. The output will be used to create target sequences for designing Luciferase assays. This projected was initially created for an internal renal cancer research project, 2023-2024.
Example of output of 10 bps of the flanking upstream and downstream sequences for two rsIDs, rs3 & rs4:
Variant name Variant sequences Variant alleles Chromosome/scaffold name
1 rs3 CAAGAATAGG%C/T%ACATTTGGAT C/T 13
2 rs4 AGGGTATTTA%A/G%TGCCACCCTA A/G 13
Chromosome/scaffold position start (bp) Chromosome/scaffold position end (bp) Strand
1 31872705 31872705 1
2 31873085 31873085 1
- Install Git: If you haven't already, download and install Git from git-scm.com.
- Open a Terminal or Command Prompt: Access your command line interface. On Windows, you can use Command Prompt or PowerShell. On macOS or Linux, open the Terminal.
- Navigate to the Directory: Use the
cdcommand to navigate to the directory where you want to clone the repository. - Clone the Repository: Use the git clone command followed by the URL of the repository. See below:
git clone https://github.com/timyers/rsFlankR
-
rsFlankRuses theRpackagerenvto create a reproducible environment. It records the exact package versionsMotifFindRdepends on in a lockfile, renv.lock, and ensures those exact versions get installed. -
After installation, when you open the project
renvshould automatically bootstrap itself, downloading and installing the appropriate version ofrenv. It should also ask if you want to download and install all the packagesrsFlankRneeds by runningrenv::restore().- NOTE: The
renvpackage tracks but does not help with the version ofRused (the version ofRused can be found in therenv.lockfile).renvcan't help with this because it runs inside ofR. However, there are other tools that can help. Tools like The R Installation Manager orrigcan help with switching between multiple versions ofRon one computer.
- NOTE: The