Coder Social home page Coder Social logo

Comments (4)

singing-scientist avatar singing-scientist commented on July 20, 2024

Thanks for using SNPGenie, and apologies that I lost track of this! Those instructions refer to the script in the other repository. For the vc2revcom script at the SNPGenie page, please run as follows:

vcf2revcom.pl <file_name>.vcf <seq_length>

Thus, you will also need to know the total length of your sequence as well. Let me know if that works as expected for you, and if so, we can move on to revcom for GTF and FASTA.

Please let me know if this works! If not, please share a sample file so I may troubleshoot.

from snpgenie.

lchallagundla avatar lchallagundla commented on July 20, 2024

I did convert the Snp report as per the instructions with the length of the fasta file. My question still relates to how are you reverse complementing the gtf and reference fasta.
Thanks.

from snpgenie.

singing-scientist avatar singing-scientist commented on July 20, 2024

Coordinates can be reverse-complemented simply as length - position + 1, and the reverse complement of FASTA files can be found by reversing the sequence and replacing A>T, C>G, G>C, and T>A. I now provide scripts to do this, which can be run as follows — apologies that I have not yet had time to document them.

gtf2revcom.pl <file_name>.gtf <seq_length>
fasta2revcom.pl <seq>.fa

Let me know if those work!

from snpgenie.

lchallagundla avatar lchallagundla commented on July 20, 2024

Great. I will try these and let you know if they work!
Thanks.

from snpgenie.

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.