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

sorting of loci file for dense-snps #58

Open
nurmians opened this issue Sep 16, 2019 · 1 comment
Open

sorting of loci file for dense-snps #58

nurmians opened this issue Sep 16, 2019 · 1 comment

Comments

@nurmians
Copy link

sort -k1,1 -n 2,2n loci_unsrt.tsv > losi_sorted.tsv does not work.
Did you mean:
sort -k1,1n -k 2,2n loci_unsrt.tsv > losi_sorted.tsv
or
sort -k1,1 -k2,2n loci_unsrt.tsv > losi_sorted.tsv

Either way, it would be better just to say if you want the chromosomes in alphabetical or numerical (natural) order.

@nurmians
Copy link
Author

Looks like the output of alleleCounter is identical for both inputs (alphabetical and numerically sorted).

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

1 participant