Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cram output #161

Open
mahesh-panchal opened this issue Feb 4, 2025 · 0 comments
Open

Cram output #161

mahesh-panchal opened this issue Feb 4, 2025 · 0 comments

Comments

@mahesh-panchal
Copy link
Collaborator

mahesh-panchal commented Feb 4, 2025

We need cram output to run with the Sanger pipeline.

  • Need to trim sequences by 5 bases

trim off the first 5 bases of those libs. This is recommended by arima and they suggest to use a simple awk-script to do that:

zcat INPUT.fastq.gz | awk '{ if(NR%2==0) {print substr($1,6)} else {print}
}' | gzip > OUTPUT.fastq.gz
  • Convert to cram
  • Make crai (cram index)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant