Paired end reads are typically in two files, or a small number of files if they are from multiple runs or lanes. These pairs are specified by a naming convention used in the .fasta file comment line.

For de novo assemblies with paired end reads, SeqMan NGen automatically adds the following information to the script:

setPairSpecifier pairs:
  { {
    forward: “(.*)/1”
    reverse: “(.*)/2”
    min: 0
    max: 750
    key: Illumina
  } }

If reads do not match one of the pair specifiers, or if the forward and reverse specifiers are represented by empty strings (““), the assembler will attempt to match using the whole name of the sequence. If exactly two reads have the same name, they will be considered a match.

For reference-guided assemblies, SeqMan NGen adds the following information:

    is Pair: true
    file: “****”
    SeqTech: “Illumina”
    minDist: 0
    maxDist: 750

For reference-guided assemblies with paired-end reads, SeqMan NGen recognizes the pairs by their file names. The following examples demonstrate some of the filename formats that SeqMan NGen supports for reference-guided pairs. Large-bold text in the examples is used to highlight the region of each filename that specifies the forward and reverse reads:










The Grep used to match the pairFileNames is shown below:










The following script command can be used to add support for a new filename format. The command must be executed before assembly. The pattern will be used for all subsequent assembleTemplate commands for that run of the reference-guided assembler.

pairFilePattern forward: “(?‘name’.*?)_R1_(?‘ext’.*)\.fastq” reverse: “(?‘name’.*?)_R2_(?‘ext’.*)\.fastq”

Need more help with this?

Thanks for your feedback.