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
cd
command 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
-
rsFlankR
uses theR
packagerenv
to create a reproducible environment. It records the exact package versionsMotifFindR
depends on in a lockfile, renv.lock, and ensures those exact versions get installed. -
After installation, when you open the project
renv
should automatically bootstrap itself, downloading and installing the appropriate version ofrenv
. It should also ask if you want to download and install all the packagesrsFlankR
needs by runningrenv::restore()
.- NOTE: The
renv
package tracks but does not help with the version ofR
used (the version ofR
used can be found in therenv.lock
file).renv
can't help with this because it runs inside ofR
. However, there are other tools that can help. Tools like The R Installation Manager orrig
can help with switching between multiple versions ofR
on one computer.
- NOTE: The