Hello, I would like to use kneaddata with a custom adapter sequence, rather than the ones pre-installed (ie. TruSeq2, TruSeq3, NexteraPE). I have the sequence set up as a .fa file. But I can’t figure out how to get kneaddata to use my adapter FASTA file.
Additionally, I tried to use trimmomatic to trim the adapters then pass the sequence off to kneaddata with the flag --bypass-trim since I already trimmed the adapters:
kneaddata --input1 /path/to/trimmed/sequence/test_001_S77_L004__trimmed_1P.fastq.gz \
--input2 /path/to/trimmed/sequence/test_001_S77_L004__trimmed_2P.fastq.gz \
-db /path/to/reference_db/mouse \
--run-trim-repetitive \
--run-fastqc-start \
--run-fastqc-end \
--bypass-trim \
--threads 32 \
--output /writeable/path/kneaddata/
but I ended up with an error: ERROR: Unable to write file: /writeable/path/kneaddata/reformatted_identifiers4yt3gtxj_decompressed_ijjeqjgd_test_001_S77_L004__trimmed_1P
Any help is appreciated!
I am using
[kneaddata v0.12.2]