Contact:
sales@biotechnologyforums.com to feature here

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change Header of fastq files | awk one liner
#1
Use the following awk for changing the header of the fastq files:

awk '{print (NR%4 == 1) ? "@1_" ++i : $0}' filename.fastq

Here the bold 1 can be changed to whatever string you wish to use.
Sunil Nagpal
MS(Research) Scholar, IIT Delhi (Alumnus)
Advisor for the Biotech Students portal (BiotechStudents.com)
Computational Researcher in BioSciences at a leading MNC


Suggested Reads:
Top Biotech Companies | Top places to work
Indian Biotech Companies and Job Openings
Aiming a PhD in Top Grad School? | These are the Important Points to Consider
Careers in Biotechnology | A list of various Options
Biotechnology Competitive Exams in India
Like Post Reply
  




Users browsing this thread:
1 Guest(s)

Change Header of fastq files | awk one liner00