Skip to content

Commit

Permalink
Workaround a bug with sam_parse1
Browse files Browse the repository at this point in the history
Use old samtools to workaround a bug
  • Loading branch information
teepean committed Nov 8, 2019
1 parent e111537 commit 89884ee
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified BAM Analysis Kit.exe
Binary file not shown.
Binary file added bin/cygwin/bin/samtoolsold.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion console_bam.bat
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ if "%%A" == "M" (
DEL /Q /F inchr_tmp.sam
)

bin\cygwin\bin\bash.exe -c "bin/bow/samtools.exe view -@ %BAMKIT_THREADS% -bT ref.fa inchr.sam > reads.bam"
bin\cygwin\bin\bash.exe -c "/bin/samtoolsold.exe view -bT ref.fa inchr.sam > reads.bam"
bin\cygwin\bin\bash.exe -c "bin/bow/samtools.exe view -@ %BAMKIT_THREADS% -H inchr.bam|/bin/grep -v SN > header01"
bin\cygwin\bin\bash.exe -c "bin/bow/samtools.exe view -@ %BAMKIT_THREADS% -H reads.bam > header02"
copy header01+header02 header /Y /B > NUL
Expand Down

0 comments on commit 89884ee

Please sign in to comment.