Open passdan opened 3 years ago
Greetings @passdan ! Apologies, as this script is brand new and not yet tested on the between-group output. I would be very happy to fix the bugs and update both the script and documentation — would you be willing to provide an example output file? Let me know!
Chase
Hi Chase
Thanks! Yep, I can see it's still all under development but works great so far!
There's a between_group_codon_result.txt file attached above but I think it's got hidden. Attaching here:
between_group_codon_results.txt
Regards, Dan
Thanks again for your patience and for testing this out on the between group results! I have substantially updated the sliding window script for use with all three codon result types — pooled, within-group, and between-group. I tried to anticipate a few problems and added some extra checks and errors or warnings. Please re-download and let me know if it works for you.
Yours, Chase
Thanks for this Chase, I'll have some tests as soon as possible and see how it all goes!
Hi! Have been running SNPgenie for a while and now testing the sliding_window script however have come across a few issues. See attached the file I'm attempting to use for testing, with the following command:
Rscript SNPGenie_sliding_windows.R between_group_codon_results.txt N S 40 1 1000 50 NONE 6 > btw_test.txt
between_group_codon_results.txtThe first two issues are labeling bugs, the third I can't work out but I'm wondering if it just doesn't like the between_group output file? I'd be interested to know if you can reproduce this, and what could be going on? Thanks!
1: Unknown or uninitialised column: codon_num
.This occurs because the column in the file outputted by betweengroup testing is named just 'codon'. Renaming the column in the output file passes this.
Again, column name issue. I changed the line to match on heading, but not a proper fix
Here I can't identify the issue.