Open furqan915 opened 4 years ago
Hi,
Thanks everyone! for previously raising issues and guided me well. The following are the commands that helped me in building input.tab file for running snippy-multi. These commands could be helpful for persons with limited knowledge of Linux.
To save filenames as ID
ls > file1.txt
To save filenames with their paths as contigs
find $(pwd)/*.fna > file2.txt
To combine both files columnwise and have tabs
paste file1.txt file2.txt > file3.txt
Then run the snippy multi commands as mentioned in the readme. Thanks to Torsten Seeman and other developers.
@tseemann I think this issue can be closed now.
Hi,
I have tried generating tab file by pasting all the filenames and paths in excel and later converted that CSV file using this command.
sed -e 's/,/\t/g' input.csv > input2.tab
and then ran the following command and this message showed up:
root@honey-pc:/home/fan/monas/fna# snippy-multi input2.tab --ref /home/fan/monas/fna/GCF_genomic.fna --cpus 4 > runme.sh Reading: input2.tab
ERROR: [GCF_genomic.fna ] unreadable file '/home/fan/monas/fna/GCF_genomic.fna
Could you please guide me on how to create input.tab file in Linux command line (without using excel and csv format if there is a problem with formatting the file)?
Secondly, I have already checked .fna format is acceptable and properly working with snippy. But this unreadable shows up in snippy-multi.
Regards