Kennedy-Lab-UW / Duplex-Sequencing

Other
57 stars 34 forks source link

tag_to_header.py: Always write trailing newlines #7

Closed tsibley closed 9 years ago

tsibley commented 9 years ago

Leaving off a final newline in text files is very unconventional for Unix and breaks a number of assumptions that other common tools make. It's also simpler to always write a newline than to keep track of whether you're writing the first line or not.

For example, obtaining a line count with wc -l on the produced FastQ files will be off by one before this change.

tsibley commented 9 years ago

Thanks again!

scottrk commented 9 years ago

Sorry it took so long. I've been having issues with notifications not being sent to me. I think I have things sorted out now. Hopefully I'll be a bit more responsive.