Comments (8)
The amptk primers command will tell you which sequences there are shortcuts for, if you used different primers then you just need to enter the primer sequence that you want trimmed into the forward -f and reverse -r options. Be careful of how the amplicons were sequenced, some setups use non-illumina sequencing primers and therefore the data won’t have the primers. Basically you enter what sequence you want the software to trim from the forward and reverse part of the amplicon.
from amptk.
Understood. If my data has no primers how do I set these parameters to null? I tried using 0 and received:
ValueError: invalid literal for int() with base 10: 'post1'
Thanks for your time once again.
from amptk.
Look at the help menu for each command, it is the —require_primer option you set to false. It will still look for primers that you specify but won’t discard read if they aren’t found. So still use the primer sequences you used to construct library.
from amptk.
Still could not manage to run, I always get this output with or without --require_primer, here's my command:
amptk illumina -i '/media/filipe/rema_seq_vogel/raw_data/e10/' --out amptk_pipeline -f CCTACGGGCGGCGGCAG -r GACTACATGGGTATCTAATCC --require_primer off --cpus 2
Traceback (most recent call last):
File "/home/filipe/miniconda3/envs/amptk/opt/amptk-1.2.4/bin/amptk-process_illumina_folder.py", line 203, in
amptklib.SystemInfo()
File "/home/filipe/miniconda3/envs/amptk/opt/amptk-1.2.4/lib/amptklib.py", line 210, in SystemInfo
mod_versions()
File "/home/filipe/miniconda3/envs/amptk/opt/amptk-1.2.4/lib/amptklib.py", line 225, in mod_versions
if not gvc(vers, '1.2.1'):
File "/home/filipe/miniconda3/envs/amptk/opt/amptk-1.2.4/lib/amptklib.py", line 134, in gvc
if versiontuple(input) >= versiontuple(check):
File "/home/filipe/miniconda3/envs/amptk/opt/amptk-1.2.4/lib/amptklib.py", line 131, in versiontuple
return tuple(map(int, (v.split("."))))
ValueError: invalid literal for int() with base 10: 'post1'
Maybe I am having some install issue? I tried deleting and reinstalling miniconda3 and ended up with the same results. Also, I followed all steps, usearch 9.2.64 is softlinked i am using i86linux32 version, my system is Ubuntu 18.04.
Curiously i've ran this successfully in the past as follows:
amptk illumina -i '/home/filipe/Documents/colab1/raw_reads' -o grape --require_primer off --cpus 2
Thanks once again.
from amptk.
This is related to edlib install. Try to reinstall python-edlib with conda. This is fixed in v1.2.5.
from amptk.
There is a new version on bioconda, hopefully this problem is solved. In the next few days I'll have some maintenance updates.
from amptk.
v1.4.0
was released on pip, can you give that a try? pip install amptk
. Note this will not install the external non-python dependencies.
from amptk.
Sorry for not getting back sooner. Installing edlib fixed it, I will try v.1.4.0.
from amptk.
Related Issues (20)
- Issue installing AMPtk (Mac OS - M1 chip) HOT 2
- getting NoneType vs int error in clustering step
- Error when run quick start HOT 7
- usearch9 not found when generate UTAX database
- VSEARCH error on amptk -filter step
- Support Python 3.8 onwards HOT 3
- SyntaxError in "duplicate ID in mapping file: XXX, exiting"
- Default for -p, --index_bleed documented as 0.005 HOT 1
- Typo "Bjerkandara adusta" --> "Bjerkandera adusta" HOT 1
- Missing species names in amptk_mock1.fa HOT 3
- Missing final new line in amptk_mock1.fa and amptk_synmock.fa HOT 2
- Inconsistent primer trimming sequence in amptk_mock*.fa HOT 5
- Matching MockA, MockB1 and MockB2 to FASTQ filenames HOT 2
- platform.linux_distribution is removed since Python 3.8 HOT 1
- Species names in amptk_mock2.fa and amptk_mock3.fa vs Figure 4
- new users cannot install amptk properly, please help HOT 3
- unoise3 clustering HOT 5
- Problem with TypeError during AMPtk cluster HOT 11
- Saw you started some prelim ONT methods HOT 2
- Problematic unoise3 implementation with VSEARCH HOT 13
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 amptk.