Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PopGenome Not Reading In FASTA File #7

Open
simone-says opened this issue Jun 10, 2021 · 1 comment
Open

PopGenome Not Reading In FASTA File #7

simone-says opened this issue Jun 10, 2021 · 1 comment

Comments

@simone-says
Copy link

'm trying to run my alignment of a gene (CDS) with multiple species and multiple individuals per species. When using the 'readData()' function in the PopGenome package, I can see that it's reading in my file because it shows the correct number of sites, but doesn't show anything else (# gaps, unknowns, trans/transv ratio, etc).

> get.sum.data(Croc_AVP.class) n.sites n.biallelic.sites n.gaps n.unknowns n.valid.sites n.polyallelic.sites trans.transv.ratio ExonCap-Crocodylus_AVP_outNT_MKTtest.fasta 858 0 0 0 0 0 NaN

I tried dos2unix to convert my file to have Unix linebreaks in the fasta file to mirror the PopGenome example fastas, but to no avail.

@THccaa
Copy link

THccaa commented Nov 12, 2023

Was this issue ever resolved? I have the same problem with all my fasta files.
I tried dos2unix, removing line breaks completely, converted to (sequential) phylip, minor and capital letters (which should not make a difference), readData and read.big.fasta... always the same result:
get.sum.data(GENOME.class) n.sites n.biallelic.sites n.gaps n.unknowns n.valid.sites n.polyallelic.sites chunk1 1259 0 0 0 0 0 trans.transv.ratio chunk1 NaN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants