Closed deilepaita closed 1 year ago
Hello,
In order to debug this, I'd need a small dataset that could be used to reproduce the error on my own machine.
Here it is,
I tried to test it with the first 1000 lines, before posting them here, and the code worked. No error reported on R. But the error appears when using the whole file (~270K lines). So, I tried more lines (~2000), and then I noticed some blank spaces in the third and fourth columns on the original file. Could that be the problem?
Thanks for your quick reply!
Sorry for the delayed reply. The blanks in the allele column could definitely cause this error. I see in Chr01-003677744-bot that one of the tags is much shorter than the other two, and I bet the issue has something to do with that. If you could send me the corresponding lines from the align.csv file that would be helpful.
Not a problem,
There are many cases like that one (Chr01-003677744-bot) in the sorted file. Attach you can find the corresponding lines to Chr01-003677744-bot in the align.csv file.
20230315_out_sam_multi_1_align_Chr01-003677744-bot.csv
Thanks for your help!
Sorry again for the delayed response. I just pushed a bug fix to process_isoloci.py that I think will solve your problem. Let me know how it goes!
Thank you. I will let you know how it goes!
It work perfectly. I got no error this time.
Thanks for your help!
Hello Lindsay,
Thanks for the polyRAD package, it is well documented and the tutorials are awesome!
Following the steps for "Variant and Genotype Calling in Highly Duplicated Genomes" from https://lvclark.r-universe.dev/articles/polyRAD/isolocus_sorting.html, to call variants on my own dataset on a Miscanthus F2 diploid population, I get to the steps before importing the sorted dataset into polyRAD without any problems, but when trying to import the sorted .csv file generated by process_isoloci.py in R to polyRAD with the function readProcessIsoloci, I get the following error:
I don't quite understand the error message. Could you help me figure out what am I doing wrong? I tried changing default arguments, but still gives me the same error message no matter what I do.
Thanks,