-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjobsubmit-3.sh
More file actions
13 lines (7 loc) · 932 Bytes
/
Copy pathjobsubmit-3.sh
File metadata and controls
13 lines (7 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
# This script is a wrapper for mixcr. It will annotate the forward reads that map to TRBV genes.
file=$1
prefix=$2
mixcr align --save-description -f -g -b imgt -s hsa -r $prefix"_TRB_alignmentReport.txt" --not-aligned-R1 $prefix"_TRB_nt_R1.fastq" -OvParameters.geneFeatureToAlign=VRegion $file $prefix"_TRB_alignments.vdjca"
mixcr assemble -f -r $prefix"_TRB_assembleReport.txt" --index $prefix"_TRB_index_file" -OcloneClusteringParameters=null -OassemblingFeatures=CDR3 -OseparateByV=true -OseparateByJ=true -OseparateByC=true -OmaxBadPointsPercent=1.0 -ObadQualityThreshold=0 $prefix"_TRB_alignments.vdjca" $prefix"_TRB_clones.clns"
mixcr exportClones -f -c TRB -o -t --preset-file Fields-1.txt -readIds $prefix"_TRB_index_file" $prefix"_TRB_clones.clns" $prefix"_TRB_clones.txt"
mixcr exportAlignments -f -cloneId $prefix"_TRB_index_file" -descrR1 $prefix"_TRB_alignments.vdjca" $prefix"_TRB_alignments.txt"