Removing Human Contigs From Metagenomic Shotgun Assembly (FASTA)
1
0
Entering edit mode
4.6 years ago
isu2017 • 0

Hi there,

I used SPADE to assemble my metagenome shotgun dataset into contigs. I just realized, however, that there is human contamination in this assembly. Because of how long the assembly took, I'm trying to think of ways to remove those human contigs from the FASTA assembly. Any suggestions? Now, if I need to go back a step, and remove them from the FASTQ files, how should I proceed? (I'd rather not use something like Kneaddata from removal of human contaminations btw.)

thanks!

Spade Metagenome Metagenomics • 3.0k views
ADD COMMENT
4
Entering edit mode

You could simply align the data to human genome (use blat, LAST or LASTZ) and remove sequences that align.

If you are willing to go back to the original data then try: http://seqanswers.com/forums/showthread.php?t=42552

ADD REPLY
1
Entering edit mode

BlobTools is great for this, although if you have too many contigs (hundred thousands or millions of contigs) the blast step may be too slow.

ADD REPLY
0
Entering edit mode

In addition to good suggestions that are already part of this thread, I think you should look at all similar posts on the far right side of this page. This is a fairly common problem and has been debated already.

You may want to consider binning of your sequences with t-SNE or UMAP. Human contigs that are > 5kb should separate easily from other sequences.

ADD REPLY
1
Entering edit mode
4.5 years ago
evoBio ▴ 50

Removing the host genome should be a part of your quality control step of your metagenomic pipeline. You can do this right after you quality trim your sequences. There are several ways to remove the host genome but I personally used BWA (Bowtie2 is another option) to align the reads to human genome. You will get two SAM or BAM files (aligned and unaligned) as output and you will take the unaligned SAM/BAM file and convert it to FASTA or FASTQ (I used Picard Tools here but you can also use SAMTools or BAMTools) to obtain non-human reads with which you will perform assembly. Regardless of whether you remove host reads or not, depending on the size of your data set SPADES can be a memory hog and take a while to run.

ADD COMMENT

Login before adding your answer.

Traffic: 1485 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6