I have a fastq file and at the beginning of all reads I have a "N". how can I get ride of that N using command line? here is an example:
@SRR2163140.1 HISEQ:148:C670LANXX:3:1101:1302:1947 length=50
NGCGACCTCAGATCAGACGTGGCGACCTGGAATTCTCGGGTGCCAAGGAA
+SRR2163140.1 HISEQ:148:C670LANXX:3:1101:1302:1947 length=50
#<<ABGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGFGGGGGGGGGGG
@SRR2163140.2 HISEQ:148:C670LANXX:3:1101:1440:1963 length=50
NAGGCCTGGAATTCTCGGGTGCCAAGGAACTCCAGTCACATCACGATCTC
+SRR2163140.2 HISEQ:148:C670LANXX:3:1101:1440:1963 length=50
#=<BBGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG
@SRR2163140.3 HISEQ:148:C670LANXX:3:1101:1381:1997 length=50
NGCCGACATCGAAGGATCAATGGAATTCTCGGGTGCCAAGGAACTCCAGT
+SRR2163140.3 HISEQ:148:C670LANXX:3:1101:1381:1997 length=50
#<<ABFGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGFF
@SRR2163140.4 HISEQ:148:C670LANXX:3:1101:1705:1940 length=50
NACAAACCCTTGTGTCGAGGGCTGGAATTCTCGGGTGCCAAGGAACTCCA
you should be doing some QC on the file anyway so just run it through FASTQC and trimgalore with default settings and this will happen automatically (I think trim galore removes the first 3 nucleotides by default for each read)