Coder Social home page Coder Social logo

edgardomortiz / paralog-finder Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 1.0 7.09 MB

Detects and blacklists paralog RAD loci analyzed in Stacks or ipyrad, based on the McKinney 2017 method (doi:10.1111/1755-0998.12613)

License: GNU General Public License v3.0

R 29.34% Python 70.66%
rad radseq gbs paralog ipyrad

paralog-finder's People

Contributors

edgardomortiz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

simo-n-maduna

paralog-finder's Issues

SNP loss in HDplot_process_vcf.py

Hi Edgardo,

Thanks for improving upon HDplot. In giving the py script a try with unfiltered snps out of stacks:populations, the snp count dropped from 656k to 520k, from the populations.snps.vcf to the populations.depthBias. We should be adding metrics, not dropping snps at this point?

I would prefer to apply the py script to the vcf after filtering, but vcftools rightly drops the INFO fields after filtering operations. With vcftools' filtered output, HDplot_process_vcf.py hangs on the NS being equivalent to ".". Following up on this, I used stacks:populations to recalc the INFO fields on the vcf after having filtered for GQ, MAC, mindepth, and minmeandepth. Of 80k snps, the py script now drops 35. I'm not seeing a pattern to the drops, except maybe a low MAF. I'll attach one in transposed format.

So why is the py script dropping snps?

depthBias-drop.txt

syntax error

Hello Edgardo,
I would like to let you know that ever since I upgraded to python 3.9 I have not been able to use your scripts.
Even when trying to get the help message using the command:

python HDplot_process_vcf.py -h

I get the following error:

File "/paralog-finder-1.0/HDplot_process_vcf.py", line 58
print 'skipped {} header lines'.format(header_lines)
^
SyntaxError: invalid syntax

Could you please let me know how to fix this?
Thank you very much!
Kind regards,
Marcos

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.