Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
prepRiboviz.sh
Shell script for preparing ribosome profiling data for RiboViz or other analysis, that
- processes all fastq.gz files in an input directory (-in),
- cuts out sequencing library adapters (CTGTAGGCACC or -adapters)
- removes rRNA or other contaminating reads by hisat2 alignment to rRNA index file (-rRNA)
- aligns remaining reads to ORFs or other hisat2 index file (-orf)
- trims 5' mismatches from reads and removes reads with more than 2 mismatches
- parallelizes over many processes (-p), except for cutadapt which isn't parallel
- puts all intermediate files into a temporary directory (-tmp)
- when finished, the script will put useful output files in another directory (-out)
Note that the bamfiles ${fn_outbam} are directly usable in genome browsers, etc.
Currently this makes the bamfiles and leaves temp files in place.
Next step is to pass bam output into hdf5 and visualization tools.