-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Hi There,
I had some issues getting RAT to run (CAT and BAT both worked) using a megahit assembly.
In order to fix it (I think), I used the latest release of CAT v6.0.1 and had to change a few lines assigning dictionary keys.
specifically:
reads_v2.txt
- in get_contig_lengths i had to change the c_id key set in the contig_length_dict from "c.split('\n')[0].strip()" to "c.rstrip().split(' ')[0].lstrip('>')" as it was faulting in make_tax_table
- in make_unclassified_seq_fasta I changed the last line in the part writing unclassified_seq_fasta I changed "outf.write('>{0}{1}\n{2}\n'.format(seq_id, suffix,
fasta_dict[seq]))" to "outf.write('>{0}{1}\n{2}\n'.format(seq_id, suffix,
fasta_dict[seq_id]))"
The program now runs without errors on my local install with my files - do those changes have any secondary effects in the program I might not be expecting?
I attached my reads.py file that I'm running now as a txt file
Thanks,
Shea
Metadata
Metadata
Assignees
Labels
No labels