Entering edit mode
                    3.1 years ago
        SaltedPork
        
    
        ▴
    
    170
    My FASTQ header:
@M03972:198:000000000-CJVFC:1:1101:13861:2151 1:N:0:TAGCGCTC+GCGTAAGA
Desired FASTQ header:
@M03972:198:000000000-CJVFC:1:1101:13861:2151/1
There are two steps I wish to perform, the first is to remove the extra Illumina details after the ' 1', the second is to convert ' 1' to '/1'.
- Are there any programs available that can do this? I have looked at Seqkit and FASTX-Toolkit, neither do what I am after. 
- I have considered using sed commands, with the regex - :N:0:\w+\+\w+Is there a better command?