deconseq_for_decontaminating_reads
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deconseq_for_decontaminating_reads [2017/08/24 07:43] – cgeb2001 | deconseq_for_decontaminating_reads [2018/06/28 15:58] (current) – 134.190.133.209 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | **DECONSEQ** | + | ====== |
| Documentation by Sarah Shah, Shelby Williams | Documentation by Sarah Shah, Shelby Williams | ||
| Line 7: | Line 8: | ||
| Warning: If your read file is above 4GB, you must split it. Deconseq' | Warning: If your read file is above 4GB, you must split it. Deconseq' | ||
| - | This can be used to decontaminate reads using a database of your suspected contaminant sequences. I recommend using this for fine-combing through data that doesn' | + | This can be used to decontaminate reads using a database of your suspected contaminant sequences. To start, create a fasta file with genomes of suspected contaminates. I recommend using this for fine-combing through data that doesn' |
| - | 1. Make a bwa index by: | + | 1. Make a bwa index of your contamination fasta file by: |
| < | < | ||
| bwa64 index -p prefix_of_your_choice_for_bacteria_index -a bwtsw fasta_file_of_your_suspected_bacteria >bwa.log 2>&1 & | bwa64 index -p prefix_of_your_choice_for_bacteria_index -a bwtsw fasta_file_of_your_suspected_bacteria >bwa.log 2>&1 & | ||
| </ | </ | ||
| + | |||
| + | You can check the status of your bwa index by using "tail -f bwa.log" | ||
| 2. Move the 8 index files to the folder " | 2. Move the 8 index files to the folder " | ||
| - | 3. Edit the config file (DeconSeqConfig.pm) as such: | + | 3a. Edit the config file (DeconSeqConfig.pm) as such: |
| < | < | ||
| ' | ' | ||
| db => ' | db => ' | ||
| </ | </ | ||
| - | Do not edit anything else. | + | |
| + | 3b. Also edit the following lines in the config file: | ||
| + | < | ||
| + | use constant DB_DIR => '/ | ||
| + | use constant PROG_DIR => '/ | ||
| + | </ | ||
| + | |||
| + | This is because of a bug (see https:// | ||
| 4. Write a shell script (example below) and qsub it. | 4. Write a shell script (example below) and qsub it. | ||
deconseq_for_decontaminating_reads.1503571410.txt.gz · Last modified: by cgeb2001
