GithubHelp home page GithubHelp logo

What is a dbSNP_index? about gembs HOT 4 CLOSED

heathsc avatar heathsc commented on August 13, 2024
What is a dbSNP_index?

from gembs.

Comments (4)

heathsc avatar heathsc commented on August 13, 2024 2

There is a section in the manual on the dbSNP_index - if you have any suggestions about how this could be made clearer please let me know! I have added a default value for dbSNP_index if dbSNP_files and index_dir are both set (index_dir/dbSNP_gemBS.idx)

The message from gemBS prepare about the missing index file is simple informational rather than a warning of any problem. It is to tell the user that they should run gemBS index to create the missing indices (or correct the configuration file if the indices do exist but gemBS has not found them). I have added a message when missing files have been found to say that gemBS index should be run to generate the missing files.

from gembs.

heathsc avatar heathsc commented on August 13, 2024

dbSNP_index is a custom index generated by gemBS that contains the positions and names of the SNPs extracted from the dbSNP bed files. If you give a path to the dbSNP_index file, it will be created if it does not already exist. Note that the dbSNP index is not required for normal operation of gemBS, but is required for annotation of SNP names in the VCF file.

from gembs.

IsmailM avatar IsmailM commented on August 13, 2024

Thanks for the explanation - might be useful to add this to the docs.

Would also be nice to have a default value for this. e.g.

dbSNP_index = ${index_dir}/dbsnp.index

Also, should gemBS prepare be run before gemBS index - because gemBS prepare complains if the dbSNP_index file does not exist yet (even though it hasn't been produced yet with gemBS index)...

from gembs.

minghao4 avatar minghao4 commented on August 13, 2024

Hello,

The default value doesn't seem to be working. I have index_dir set in the configuration file and here's what I have tried:

  • Various spelling combinations of dbsnp_index in the configuration file (dbsnp_index, dbsnp_idx, dbSNP_index, dbSNP_idx)
  • Setting dbsnp_files in the configuration file with various spelling combinations (dbsnp_files, dbSNP_files)
  • Using the -d flag in gemBS index to try and set the dbsnp files.

This seems to be going on with both the version from bioconda and building from the source files here.

from gembs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.