broadinstitute / pilon

Pilon is an automated genome assembly improvement and variant detection tool
GNU General Public License v2.0
340 stars 60 forks source link

BUG pilon renames headers in fasta, adds "|pilon" #173

Closed Luky1228 closed 1 month ago

Luky1228 commented 1 month ago

Thank you for creating pilon. I have faced problem that pilon renames(rewrites) headers of fasta files, it ads "_pilon" but in the last run it add "|pilon" is it possible to control suffix or understand logic? Examples: OLD: NODE_6_length_2459_cov_90.008319:838 NODE_6_length_2459_cov_90.008319_pilon:838 C T

NEW: BB-13_S148|NODE_36_length_1590_cov_7.468404:1049 BB-13_S148|NODE_36_length_1590_cov_7.468404|pilon:1049 G A

Luky1228 commented 1 month ago

Found answer please add to manual, that it appends suffix "|pilon" if there is char "|" in fasta header otherwise "_pilon"