Comments (7)
Thanks again for opening an issue. I had someone else reach out to me with a similar issue. I'm working to fix this right now, and I'll let you know when I've worked out the kinks.
For a quick fix, you can reduce the number of input sequences by splitting your fasta file. something like this (filters sequences < 1000 from a file named MY_CONTIGS.fasta
, splits by 10,000 sequences per file):
bioawk -c fastx '{ if (length($seq)>=1000) {print ">"$name ; print $seq }}' MY_CONTIGS.fasta | awk 'BEGIN {n_seq=0;} /^>/ {if(n_seq%10000==0){file=sprintf("MY_SPLIT_SEQUENCES_%d.fasta",n_seq);} print >> file; n_seq++; next;} { print >> file; }'
Regards,
Mike
from cenote-taker2.
I'm running cenote-taker2 on around 250 datasets, so it would be a certain amount of hassle to add in extra steps to split this file up and then run it on each of the split files.
Is there a particular reason my suggestion above won't work? (As I say, I don't understand the purpose of the find options you've used.)
from cenote-taker2.
Darren,
I do think your suggestions will work, but I use the find * -maxdepth 0
dozens of times, so I'm worried it will break something unexpectedly when I change all of these instances. So, I'm testing many datasets on this change before I push an update with the change (I believe it did cause an issue in one place). Life has been getting in the way a little bit, but I hope to have this fixed soon.
Mike
from cenote-taker2.
Hi Darren,
I just pushed some updates (v2.1.3
) which should fix the find
command issues. I've also included new RdRp HMMs, in part from the sequences you sent me a while ago. Thanks so much for the help. Please do:
conda activate cenote-taker2_env
cd Cenote-Taker2
git pull
python update_ct2_databases.py --hmm True
I hope this works for you.
Cheers,
Mike
from cenote-taker2.
Great! Thanks, trying it now!
from cenote-taker2.
Hi! In version 2.1.3 I still get one of these when its clearing up:
removing ancillary files
/data/home/dobbard/apps/CenoteTaker2/cenote-taker2.1.3.sh: line 2181: /usr/bin/rm: Argument list too long
from cenote-taker2.
OK I've changed the rm
commands at the end of the script to utilize find
, so I hope this is resolved. Please do:
cd Cenote-Taker2
git pull
from cenote-taker2.
Related Issues (20)
- Getting phage contigs even after "phage pruning" is set to true HOT 3
- Catalog content no_end_contigs_with_viral_domain HOT 2
- Contigs in the CONTIG_SUMMARY.tsv have neither ".rotate.fasta" nor ".tax_guide.blastx.out" HOT 1
- Pipeline hangs at PHANOTATE step HOT 6
- Error in script for VcontACT? HOT 1
- input reads (=megahit output) of cenote HOT 1
- How to include locus_tag or gene_id in gbf? HOT 2
- erro: Argument list too long when using latest cenote-Taker2.1.5 HOT 2
- erro:grep: sequin directory/*.fsa: No such file or directory when using latest cenote-Taker2.0.1 HOT 2
- BlastN "no high coverage hits HOT 3
- DTR removing HOT 1
- Quiet failure (strict mode option?) HOT 1
- cenote-taker2 vs (blastn nt & diamond nr) HOT 1
- Updates HOT 3
- DTR HOT 3
- ResolvePackageNotFound: - bbtools=37.62 HOT 1
- replace tbl2asn with table2asn
- ValueError: unsupported format character 'I' (0x49) at index 66 HOT 3
- Minimum protein length HOT 2
- ERROR: Invalid inference value tRNAscan-SE HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cenote-taker2.