Mercurial > repos > sanbi-uwc > freebayes
changeset 7:9d88d9f45a7f draft default tip
planemo upload for repository https://github.com/SANBI-SA/tools-sanbi-uwc/tree/master/tools/freebayes commit 935873f98b4ec40c6db2e91e27ac483afc8c4af4
| author | sanbi-uwc |
|---|---|
| date | Tue, 08 May 2018 08:53:21 -0400 |
| parents | f6caa75cb8e0 |
| children | |
| files | freebayes.xml |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/freebayes.xml Tue May 08 06:44:14 2018 -0400 +++ b/freebayes.xml Tue May 08 08:53:21 2018 -0400 @@ -44,7 +44,7 @@ #else ##divide up the regions in the bam file for efficient processing #for $bam_count, $input_bam in enumerate( $input_bamfiles ): - samtools sort - | samtools view -H b_${bam_count}.bam | + samtools view -H b_${bam_count}.bam | grep '^@SQ' | cut -f 2- | awk '{ gsub("^SN:","",$1); gsub("^LN:","",$2); print $1"\t0\t"$2; }' >> regions_all.bed &&
