Giter Site home page Giter Site logo

Comments (5)

francois-a avatar francois-a commented on July 22, 2024

Hi, could you please provide the code you used to run tensorQTL? These SNPs are only filtered automatically in command-line mode. If you use tensorQTL as a module, you need to run the filtering step with filter_cis explicitly.

from tensorqtl.

xwBio avatar xwBio commented on July 22, 2024

Hi, many thanks for your reply.
Please find the below code I used for analysis:
python -m tensorqtl ${plink_prefix_path} ${wd}/${prefix}_rpkm.qnorm.std.bed.gz ${prefix}
--covariates ${wd}/${prefix}_combine_covariates.txt
--mode trans
--output_text
--return_r2
-o ${wd}

from tensorqtl.

francois-a avatar francois-a commented on July 22, 2024

Ok, so this should definitely work. What format are the variant IDs in your VCF in? filter_cis currently assumes that variants are in the format chr_pos_ref_alt_build, and extracts the variant position from these IDs.

from tensorqtl.

xwBio avatar xwBio commented on July 22, 2024

Ok, so this should definitely work. What format are the variant IDs in your VCF in? filter_cis currently assumes that variants are in the format chr_pos_ref_alt_build, and extracts the variant position from these IDs.

Thank you very much.
The SNP name in my genotype file was the rs number. That may be the reason for the issue.
If the tensorQTL could be applied to variants with the rs number for trans-QTL analysis, it would be much better.
Thanks for your great work again.

from tensorqtl.

francois-a avatar francois-a commented on July 22, 2024

This is fixed in the latest version. Thanks for catching this issue!

from tensorqtl.

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.