-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
3,227 additions
and
522 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ doc/_build | |
.floo | ||
.flooignore | ||
out | ||
test_target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
#!/bin/bash | ||
|
||
# "Integration" tests for MiXCR | ||
# Test standard analysis pipeline results | ||
|
||
# Linux readlink -f alternative for Mac OS X | ||
function readlinkUniversal() { | ||
targetFile=$1 | ||
|
||
cd `dirname $targetFile` | ||
targetFile=`basename $targetFile` | ||
|
||
# iterate down a (possible) chain of symlinks | ||
while [ -L "$targetFile" ] | ||
do | ||
targetFile=`readlink $targetFile` | ||
cd `dirname $targetFile` | ||
targetFile=`basename $targetFile` | ||
done | ||
|
||
# compute the canonicalized name by finding the physical path | ||
# for the directory we're in and appending the target file. | ||
phys_dir=`pwd -P` | ||
result=$phys_dir/$targetFile | ||
echo $result | ||
} | ||
|
||
os=`uname` | ||
delta=100 | ||
|
||
dir="" | ||
|
||
case $os in | ||
Darwin) | ||
dir=$(dirname "$(readlinkUniversal "$0")") | ||
;; | ||
Linux) | ||
dir="$(dirname "$(readlink -f "$0")")" | ||
;; | ||
FreeBSD) | ||
dir=$(dirname "$(readlinkUniversal "$0")") | ||
;; | ||
*) | ||
echo "Unknown OS." | ||
exit 1 | ||
;; | ||
esac | ||
|
||
rm -rf ${dir}/test_target | ||
mkdir ${dir}/test_target | ||
|
||
cp ${dir}/src/test/resources/sequences/*.fastq ${dir}/test_target/ | ||
|
||
cd ${dir}/test_target/ | ||
|
||
PATH=${dir}:${PATH} | ||
|
||
which mixcr | ||
|
||
mixcr -v | ||
|
||
function go_assemble { | ||
mixcr assemble -r $1.clns.report $1.vdjca $1.clns || exit 1 | ||
for c in TCR IG TRB TRA TRG TRD IGH IGL IGK ALL | ||
do | ||
mixcr exportClones -c ${c} -s $1.clns $1.clns.${c}.txt || exit 1 | ||
done | ||
} | ||
|
||
for s in sample_IGH test; | ||
do | ||
mixcr align -r ${s}_paired.vdjca.report ${s}_R1.fastq ${s}_R2.fastq ${s}_paired.vdjca || exit 1 | ||
go_assemble ${s}_paired | ||
mixcr align -r ${s}_single.vdjca.report ${s}_R1.fastq ${s}_single.vdjca || exit 1 | ||
go_assemble ${s}_single | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule repseqio
updated
from 199a91 to 958e01
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.