News and Announcements » |
Description:
This script takes forward and reverse Illumina reads and joins them using the method chosen. Will optionally create an updated index reads file containing index reads for the surviving joined paired end reads. If the option to write an updated index file is chosen, be sure that the order and header format of the index reads is the same as the order and header format of reads in the files that will be joined (this is the default for reads generated on the Illumina instruments).
Currently, there are two methods that can be selected by the user to join paired-end data:
Usage: join_paired_ends.py [options]
Input Arguments:
Note
[REQUIRED]
[OPTIONAL]
Output:
All paired-end joining software will return a joined / merged / assembled paired-end fastq file. Depending on the method chosen, additional files may be written to the user-specified output directory.
fastq-join will output fastq-formatted files as: “.join” - assembled / joined reads output “.un1” - unassembled / unjoined reads1 output “*.un2” - unassembled / unjoined reads2 output
SeqPrep will output fastq-formatted gzipped files as: “*_assembled.gz” - unassembled / unjoined reads1 output “*_unassembled_R1.gz” - unassembled / unjoined reads1 output “*_unassembled_R2.gz” - unassembled / unjoined reads2 output
If a barcode / index file is provided via the ‘-b’ option, an updated barcodes file will be output as: ”..._barcodes.fastq”
This barcode / index file must be used in conjunction with the joined paired-ends file as input to ‘split_libraries_fastq.py‘. Except for missing reads that may result from failed merging of paired-ends, the index-reads and joined-reads must be in the same order.
Join paired-ends with ‘fastq-join’:
This is the default method to join paired-end Illumina data:
join_paired_ends.py -f $PWD/forward_reads.fastq -r $PWD/reverse_reads.fastq -o $PWD/fastq-join_joined
Join paired-ends with ‘SeqPrep’:
Produces similar output to the ‘fastq-join’ but returns data in gzipped format.
join_paired_ends.py -m SeqPrep -f $PWD/forward_reads.fastq -r $PWD/reverse_reads.fastq -o $PWD/SeqPrep_joined
Update the index / barcode reads file to match the surviving joined pairs.:
This is required if you will be using ‘split_libraries_fastq.py‘.
join_paired_ends.py -f $PWD/forward_reads.fastq -r $PWD/reverse_reads.fastq -b $PWD/barcodes.fastq -o $PWD/fastq-join_joined