Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Homer uniqmap #3

Closed
edmundmiller opened this issue Jan 18, 2024 · 1 comment
Closed

Add Homer uniqmap #3

edmundmiller opened this issue Jan 18, 2024 · 1 comment

Comments

@edmundmiller
Copy link
Contributor

Generating uniqmap

Unfortunately, generating your own uniqmap files is a clunky procedure. However, you can do it by following these steps:

  1. Place the genome FASTA files for the genome of interest in a directory. There MUST be only one entry per file (i.e. chr1.fa, chr2.fa, chr3.fa). Unfortunately, the programs will not accept a single FASTA file will all of the chromosomes.
  2. Next, run the getMappableRegions command. This will eat up a ton of memory, which can be scaled by adjusting the first argument which sets the number of sequences that are analyzed in parallel. The program takes a while on mammalian genomes (~day). The second argument is the length of the reads you want to consider unique: "getMappableRegions 1000000000 50 *.fa > out.50nt.txt"
  3. Next run a utility program to create the uniqmap directory: "homerTools special uniqmap uniqmapDirectory/ out.50nt.txt". The "uniqmapDirectory/" can then be used with the findPeaks command.

Source

Might be useful for Nascent, I don't know if anything besides GRO-Seq uses it.

@edmundmiller
Copy link
Contributor Author

Implemented in https://github.com/Functional-Genomics-Lab/homer-uniqmap-nf

Probably a better place for it, as it's pretty niche. If anyone needs any help, feel free to comment here, open an issue at homer-uniqmap-nf or find me in the Nascent channel of the nf-core slack!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant