dereneaton / ipyrad

Interactive assembly and analysis of RAD-seq data sets
http://ipyrad.readthedocs.io
GNU General Public License v3.0
72 stars 40 forks source link

Stats output truncates long sample names #411

Closed isaacovercast closed 4 years ago

isaacovercast commented 4 years ago

Pandas truncates long sample names in all the different outputs (-r results, s* step results, and the final _stats file), this is fantastically annoying if your sample names contain long identical prefixes:

171109_K00166_0298_AHMFNTBBXX_8_TP-D7-001_TP-D5...
171109_K00166_0298_AHMFNTBBXX_8_TP-D7-001_TP-D5...
171109_K00166_0298_AHMFNTBBXX_8_TP-D7-001_TP-D5...

I think sample names should be unlimited in length, this isn't super uncommon. Maybe there's a way to set the pandas max field length globally....

isaacovercast commented 4 years ago

This was easy. pd.set_option('display.max_colwidth', 250) at the top of ipyrad/core/assembly.py