Entering edit mode
Enter the body of text here
Code should be placed in three backticks as shown below
reads1 <- list.files( path = "path", pattern = "*_1.fastq$" )
reads2 <- list.files( path = "path", pattern = "*_2.fastq$" )
align(index = "ht", readfile1 = reads1, readfile2 = reads2, input_format = "FASTQ", output_format = "BAM", nthreads = 16) **#this line brings up error****
Error in align(index = "ht", readfile1 = reads1, readfile2 = reads2, input_format = "FASTQ", : The number of input file names is different from the number of output file names.