relipmoc / skewer

MIT License
95 stars 17 forks source link

Adapters file must end by a new line? #37

Open Isoobel opened 8 years ago

Isoobel commented 8 years ago

It seems that the input adapters file must end by a new line or the last adapter sequence will be truncated (the last nucleotide will be removed).

For example this adapters file: ">adapt1 CTCTCTCTCTCTCTA

adapt2 GTGTGTGTGTGTA"

When skewer is launched, it will use the following adapters: 'CTCTCTCTCTCTCTA' 'GTGTGTGTGTGT'

If a new line is added: ">adapt1 CTCTCTCTCTCTCTA

adapt2 GTGTGTGTGTGTA "

Skewer uses the correct adapters sequences: 'CTCTCTCTCTCTCTA' 'GTGTGTGTGTGTA'