-
Notifications
You must be signed in to change notification settings - Fork 1
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
Allow sample groups to be supplied using column numbers #18
Comments
I have a question about the use of --sample-group. Can I provide a list of sample names in a file? If I have 2 groups I would like to provide 2 files, one with each list of names. Is that possible? |
Maybe. You might be able to do it by wrapping the file in either backticks or via process substitution. The version of the perl module that comes with the script might be too old to do this, but you can check by running this perl one-liner to see if it would work. I created 2 files: group1:
group2:
Then I ran this test one-liner:
And I did get the correct output:
If you get the same output by running the above command, you should be able to supply your sample files with:
I use the tcsh shell, but I think that backticks work the same way in bash (which is what I assume you're using). In your files, the sample names must all be provided on one line, otherwise, you only get the first sample from each group. |
I think it worked, I got and output file like this:
I imagine there are no variants identified as different for those 2 groups. I am just playing with 10 random files in order to set up the pipeline, I will try with real data later on the week. |
Parsing that file downstream might be problematic given the uncommented sample lines, but it seems like it may work, at least up to this point. |
Min column number would be 10.
The text was updated successfully, but these errors were encountered: