HOw to delete a specific text from description line 1 of a fastaq file ?
1
0
Entering edit mode
6.3 years ago
majeedaasim ▴ 60

I have a fastq file to run TRinity on it. BUt I am getting an error which arises due to the following problem

HWI-ST499:111:D0G94ACXX:6:2203:18045:47806_forward/1
CACCCATCTGAGCTAATGTGCCCCATTTATTCTCACGTTATCAAACCTACAAAGGCCACTTCTCTCCAACTCCTCACTTCACCTTAGTGCAATCGGTAGAC
+
CCCFFFFFHHHHHJJJJJGJJJJJJJJJIJJIJJIGGIIIJIGGIHIIJJJGIFDGGIJJJIJIJJJIJJIJHHHHHHFFFDFDEEEEEDDCCDDBB@BD>

There appears "_forward" in line one in read 1 and "_reverse" in read 2 This is causing the problem. HOw could I delete "_forward" and "_reverse" from the read1 and read2 respectively. ? THanks

fastq modification in description • 878 views
ADD COMMENT
0
Entering edit mode
6.3 years ago
 sed 's/_\(forward\|reverse\)//'
ADD COMMENT

Login before adding your answer.

Traffic: 2529 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6