Skip to content
Snippets Groups Projects
Commit c0793ad6 authored by Brandi Cantarel's avatar Brandi Cantarel
Browse files

update alignment bug

parent 6196b5de
Branches
Tags
No related merge requests found
......@@ -69,8 +69,9 @@ else
else
samtools view -1 --threads $SLURM_CPUS_ON_NODE -o output.bam out.sam
fi
samtools sort -@ $SLURM_CPUS_ON_NODE -O BAM -n -o output.nsort.bam output.bam
samtools sort -@ $SLURM_CPUS_ON_NODE -O BAM -o ${pair_id}.bam output.bam
java -jar $PICARD/picard.jar FixMateInformation ASSUME_SORTED=TRUE SORT_ORDER=coordinate ADD_MATE_CIGAR=TRUE I=output.nsort.bam O=${pair_id}.bam
fi
samtools index -@ $SLURM_CPUS_ON_NODE ${pair_id}.bam
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment