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

Issues running pFST #12

Open
uod12345 opened this issue Jul 24, 2020 · 6 comments
Open

Issues running pFST #12

uod12345 opened this issue Jul 24, 2020 · 6 comments

Comments

@uod12345
Copy link

Hi Zev, I'm trying to run pFST using your GPAT++ tool. It mentions using a comma separated list of inidividuals corresponding to the VCF file. I have more than 6000 individuals in mine. Is there a shorter way to do so? Something like {0:6000}? Do let me know.

@zeeev
Copy link
Owner

zeeev commented Jul 27, 2020

Hi @uod12345,

At this time there isn't a way shorthand way to do it. You'll probably hit a character limit on the command line.

If you're comfortable with cpp, I'd suggest changing this function:

https://github.com/vcflib/vcflib/blob/master/src/pFst.cpp#L58

@uod12345
Copy link
Author

uod12345 commented Jul 27, 2020 via email

@zeeev
Copy link
Owner

zeeev commented Jul 28, 2020

Yes, something like that will work. I use to do something like $(perl -e 'print join ",", (0..100)')

@uod12345
Copy link
Author

uod12345 commented Jul 29, 2020 via email

@zeeev
Copy link
Owner

zeeev commented Jul 29, 2020 via email

@uod12345
Copy link
Author

uod12345 commented Jul 29, 2020 via email

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