Coder Social home page Coder Social logo

chrchang / eigensoft Goto Github PK

View Code? Open in Web Editor NEW
21.0 21.0 14.0 9.96 MB

Experimental EIGENSOFT performance improvements.

Home Page: http://www.hsph.harvard.edu/alkes-price/software/

Perl 2.05% C 97.47% Objective-C 0.03% C++ 0.01% Fortran 0.44%

eigensoft's People

Contributors

chrchang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

eigensoft's Issues

large samples

Hi

I am trying to PCA with smartpca for 200K sample , 100K SNPS with 256G memory .
However, the process does not finish (core dumped). I suspect memory shortage, but I do not have access to additional memories.

Is this problem is reasonable(compared with memory size)? and Are there any way to solve it?

Thanks,

Satoshi

MAXCH is unnecessarily low

Hi,
I often work with draft assemblies that consist of hundreds of contigs. Because of that, I have needed to change the parameter "MAXCH" in the file "include/mcio.h" to something much bigger. (It is "100" by default.)
I don't understand why such a limit is needed and why has it been set so low. Could it be removed or set so high (e.g. 9999) that it wouldn't break the analyses (at least the format conversion) of contig assemblies?

Best,
Ari

bug?

I ran 'EIGENSTRAT/example.perl' and find no new plot files created, although 'EIGENSTRAT/example.perl' contatin the plot params.

I directly run ./ploteig under 'bin' and warning raised -bash: ./ploteig: /usr/local/bin/perl: bad interpreter: No such file or directory. Then I tried add perl in front of the commond and plot files occured.

I am not sure it is due to my environment or the software.

Bug report

I ran 'EIGENSTRAT/example.perl' and find no new plot files created, although 'EIGENSTRAT/example.perl' contatin the plot params.

I directly run ./ploteig under 'bin' and warning raised -bash: ./ploteig: /usr/local/bin/perl: bad interpreter: No such file or directory. Then I tried add perl in front of the commond and plot files occured.

I am not sure it is due to my environment or the software.

Update contact information/Can you get base::prcomp() components with eigensoft/SMARTPCA?

Readme say's to contact this e-mail but I'm getting a bounce:

The following addresses had permanent fatal errors -----
[email protected]
(reason: 550 5.1.1 [email protected]: Recipient address rejected: User unknown in virtual alias table)

My question to you was:

Base R's prcomp() command returns a number of components along with eigenvalues (for example: sdev, rotation, center, scale, x). Is it possible to get such components out of SMARTPCA?

According to the documentation (https://github.com/chrchang/eigensoft/tree/master/POPGEN) it looks like the only outputs you get are evecoutname and evaloutnames (eigenvectors & eigenvalues) so I'm not sure if this possible or if you know of a workaround?

Thank you for your time

id names too long issue in Smartpca

Hi,
I have been getting this issue even if I change the ids.
idnames too long 100_0301001891 100_0301001891 ll: 41 limit: 39
./smart_pca_without_hapmap.sh: line 114: 1717458 Aborted (core dumped) /EIGENSOFT/4.2/bin/smartpca

Please help me find and rectify the error.
Thanks in advance.

Regards
Mano

PCA scores when using *.bed, *.bim, *.fam files

Suppose we have the following files:
in.bed, in.bim, in.fam

The command:

smartpca.perl -i in.bed -a in.bim -b in.fam -s 6 \
-e out.eval -l out.elog -o out.pca -p out.plot

results in out.pca having only zero entries. On the other hand, using plink to recode the binary files into *.ped and *.map, the commands:

smartpca.perl -i in.ped -a in.map -b in.ped -s 6 \
-e out.eval -l out.elog -o out.pca -p out.plot

and

smartpca.perl -i in.ped -a in.map -b in.fam -s 6 \
-e out.eval -l out.elog -o out.pca -p out.plot

both compute the same eigenvalues as the previous one, but the PCA scores are correctly computed.

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.