transfuse icon indicating copy to clipboard operation
transfuse copied to clipboard

name too long

Open quelob opened this issue 6 years ago • 0 comments

Hi! I've used 41 assemblies as an input to transfuse. At some point I got an error transfuse2.txt I have zero experience on coding, but it seems that naming the concatenated fasta with the first 5 characters of all the assemblies can be a problem. In my case, and being completely ignorant about coding, I intuitively solved it by modifying line 61 of transfuse-0.5.0-linux-x86_64/lib/lib/transfuse/transfuse.rb from "fasta << File.basename(name, File.extname(name))[0..5]" to "fasta << File.basename(name, File.extname(name))[0..1]"

Maybe is better to assign a fixed name this concatenated filtered fasta with something like "all_filtered.fa" no matter how many assemblies are being used as input. Thanks a lot for the software, Quelo

quelob avatar Mar 26 '18 12:03 quelob