Closed tilaknayak closed 5 years ago
dear @tilaknayak sorry for the delay in answering you. I took some early vacation this year.
Your swarm
command seems OK (except you can drop myfile.swarms
, this is redundant with the -o
option:
./swarm \
-f \
-t 2 \
-z \
-o myfile.txt \
-w myfile.representatives.fasta \
amplicons_linearized_dereplicated.fasta
The results you obtain seem normal too. swarm
is a clustering method, it takes fasta sequences and tells you what are the clusters (i.e. the groups of sequences) that make sense. That's all swarm
does.
After the clustering with swarm
, there are still a few steps you need to perform before obtaining an OTU table you can analyze with R packages such as vegan or phyloseq. If you are interested, here is a page where I describe how I use swarm and other tools for my own research projects.
@tilaknayak I am closing that issue. Feel free to open a new issue if you have another question.
Hello sir now I am facing with a different problem. I am trying to build a
contingency table for amplicon with this script (python
amplicon_contingency_table.py P11_dereplicated.fasta > amplicons_table.csv)
and I got an error. Please help me to solve this error. I give the details
of this error bellow.
pkd@pkd-HP-406-G1-MT:~/swarm-master/scripts$ python
amplicon_contingency_table.py P11_dereplicated.fasta > amplicons_table.csv
Traceback (most recent call last):
File "amplicon_contingency_table.py", line 101, in
Thanking you. From Tilak Nayak
On Wed, Jan 16, 2019 at 7:27 PM Frédéric Mahé notifications@github.com wrote:
Closed #118 https://github.com/torognes/swarm/issues/118.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/torognes/swarm/issues/118#event-2077463100, or mute the thread https://github.com/notifications/unsubscribe-auth/Ar1JWsDxPWnQldXBtXXtldOgxO6nsEoHks5vDy_DgaJpZM4ZXr_0 .
I am a new user of swarm, after i run the swarm (code
./swarm -f -t 2 -z -o myfile.txt -w myfile.representatives.fasta amplicons_linearized_dereplicated.fasta myfile.swarms
) i got a file like thatnow my question is is that file is okay because i don't know how output file look and 2nd question from this how i deal with the statistical analysis because i don't understand the otu cluster value and otu number. kindly reply me.