Hi all. Thank you so much for the commands and quick help - I used 'awk' and it worked to make the barcode header lines: @DGZN8DQ1:549:H7C23BCXX:2:1101:1087:1870 1:N:0
However, when demux-ing, I received another error message for mismatched seq description: N:0, N:0:CGTCGTATGAAT, and N:0:CGTCGTATGAAT
I think it's because of the index sequence in the headers of the forward and reverse header lines. Eg.
Forward: @DGZN8DQ1:549:H7C23BCXX:2:1101:1087:1870 1:N:0:CGTCGTATGAAT
Reverse: @DGZN8DQ1:549:H7C23BCXX:2:1101:1087:1870 2:N:0:CGTCGTATGAAT
To make matching descriptions for all 3 files and samples within them, what command line could I use to replace "1:N:0:CGTCGTATGAAT" (forward) and "2:N:0:CGTCGTATGAAT" (reverse) with just "1:N:0" (barcode) ?
I appreciate your time and effort in helping me and making this forum amazing.
If you just need
1:N:0then you could usereformat.shfrom BBMap suite.try with small fastq file: @ zach
Just to add 1:N:0 try: