Hi Brian,
Thanks for your fast answer, I have tried BBmap and modify it a bit so I can imput all the invidual files I have. The first part works fine with:
for i in *.fq
do ./kcompress.sh in=$i out="${i%.fq}"_kmers.fa
done
I have problems with
kmercountexact.sh in=kmers1.fa,kmers2.fa,kmers3.fa out=shared.fa mincount=3
I have tried the following but does not work:
for i in *.fa
do ./kmercountexact.sh in=$i out=shared.fa mincount=3
done
it gives me this error:
Exception in thread "main" java.lang.RuntimeException: Output file shared.fa already exists, and overwrite=false
at jgi.KmerCountExact.<init>(KmerCountExact.java:223)
at jgi.KmerCountExact.main(KmerCountExact.java:53)
How can I solved it? Moreover, the shared kmers are 100% identical or is there an option that I can be more flexible, so I can get high similar kmers but with enough SNPs to see differences and relationship between my samples?
Best,
Alba