Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://github.com/rrwick/Porechop is a tool specifically developed and used for removing adapter sequences from nanopore libraries. Unfortunately can be quite slow and is abandoned by the creator for difficulties in keeping it up and running as you can see on the github page. That being said the tool is functional and it does work. It also provides an option to remove reads which detect the presence of a different barcode sequence in the middle of it which seems like a safer bet. As mentioned, this command can take quite a bit of time to complete so consider modifying the following command to work only on one of the the raw sequencing files that only has 4,000 reads in it if you are just looking for an overview of the program and dont plan to run the assembly afterwords.

Code Block
languagebash
titleSuggested command
porechop -t 48 -i barcode01.combined.trimmedfastq.fastqgz -o barcode01.combined.adapter-trimmed.fastq.gz --discard_middle

...

Code Block
titleCan you figure out what option you need to do this using cutadapt --help? (don't forget you also want to the output to go somewhere other than your terminal
collapsetrue
cutadapt -o barcode01.combined.trimmed.fastq.gz -u 9 barcode01.combined.fastq.gz


Expand
titleHow many bases were removed?

~1.2M based on:

Total basepairs processed:   438,208,826 bp

Total written (filtered):    437,012,258 bp (99.7%)

...