Closed mpoelchau closed 4 years ago
I let this pipeline generate two bigwig files. One is from original merged bam file and the other one is from merged and downsampled bam file. Both two files are sorted and indexed before converting into bigwig file.
The final output files are: output.bam / output.sorted.bam / output.sorted.bam.bai / outptut.bigwig output-downsampled.bam / output-downsampled.sorted.bam / output-downsampled.sorted.bam.bai / output-downsampled.bigwig
Should I change "output" to "[gggsss]_[assemblyname]RNA-Seq-alignments[date]" for all of the name of output files?
Done.
The merged, downsampled bam file needs to be sorted and indexed before it can be used by Apollo. The sorting and indexing should probably happen on local server where the bam file is generated.
samtools sort sample.bam -o sample.sorted.bam
samtools index sample.sorted.bam
. This will generate an index file sample.sorted.bam.bai