cdienem / StarTool

The Swiss Army Knife for Editing Relion .STAR Files
MIT License
19 stars 7 forks source link

replacing entire columns of star files #6

Open m-shred opened 4 years ago

m-shred commented 4 years ago

Hi, I'm wondering if there is a way to replace all of one column's data on a star file with data from another star file? The two files have the same number of entries in the same order, but I want to change image names from one file to the names used in the other. I tried to use --replace_star but I don't have any corresponding data columns that can identify each entry. Apologies if this is a confusing question or has an obvious solution I am missing. Thanks!

GavinR1 commented 3 years ago

Hi, were you ever able to resolve this issue? I would like to do the same, I tried --replace_star but without providing any identifiers which seemed to be okay for syntax but is giving a "list index out of range" error.