Closed edgardomortiz closed 4 years ago
The previous one was done de novo, with a reference analysis the line hax +2 spaces:
C_23_0 GCACCAACAGAATGGCCATGTGGAAAATTGTTGGTCGGTAATCGCAC
C_23_1 GCACCAACAGAATGGCCATGTGGAAAATTGTTGGTCGGTAATCGCAC
C_72_0 GCACCAACAGAATGGCCATGTGGAAAATTGTTGGTCGGTAATCGCAC
C_72_1 GCACCAACAGAATGGCCATGTGGAAAATTGTTGGTCGGTAATCGCGC
Paa_1946_0 GCACCAACAGAATGGCCATGTGGAAAATTGTTGGTCGGTAATCGCAC
Paa_1946_1 GCACCAACAGAATGGCCATGTGGAAAATTGTTGGTCGGTAATCGCGC
// * |7:PeexChr1:54055-54102|
Dear Isaac, I think this issue is more than cosmetic, it is at least messing up my script to convert the .alleles
file for fineRAD (https://github.com/edgardomortiz/fineRADstructure-tools). I think I may have located the errors:
First here:
https://github.com/dereneaton/ipyrad/blob/28143f220f88455c7689bec6f8a60d3553c8687a/ipyrad/assemble/write_outputs.py#L1706
Change for 2 fewer spaces in "// "
:
asnpstring = "// " + snpstring[2:]
And then here: https://github.com/dereneaton/ipyrad/blob/28143f220f88455c7689bec6f8a60d3553c8687a/ipyrad/assemble/write_outputs.py#L1721-L1722 Change to:
achunk.append(
"{}|{}|\n".format(asnpstring, idx))
I think these editions may fix the issues but I haven't tested yet.
Edgardo
Thanks Edgardo, I actually meant to work on this today, but you saved me a ton of time by narrowing it down. Much appreesh. Fixed in 2563125. Will push a new version to bioconda. Thanks again!
The line with the
*
and-
indicating informative or uninformative variable sites needs two more spaces to account for the addition of_0
and_1
to the sample names: