# HG changeset patch # User davidvanzessen # Date 1478011718 14400 # Node ID 2ddb9a21f6352ec861bb55dd0b26946929042c74 # Parent 012a738edf5acb20af56e92d7f5d99400ba664a1 Uploaded diff -r 012a738edf5a -r 2ddb9a21f635 shm_csr.xml --- a/shm_csr.xml Tue Nov 01 10:15:37 2016 -0400 +++ b/shm_csr.xml Tue Nov 01 10:48:38 2016 -0400 @@ -1,7 +1,7 @@ - wrapper.sh $in_file custom $out_file $out_file.files_path ${in_file.name} "-" $functionality $unique $naive_output_ca $naive_output_cg $naive_output_cm $filter_uniques $class_filter $empty_region_filter $fast + wrapper.sh $in_file custom $out_file $out_file.files_path ${in_file.name} "-" $functionality $unique $naive_output_ca $naive_output_cg $naive_output_cm $naive_output_ce $filter_uniques $class_filter $empty_region_filter $fast @@ -66,6 +66,9 @@ naive_output_cond['naive_output'] == "yes" + + naive_output_cond['naive_output'] == "yes" + 10.1093/nar/gks457 diff -r 012a738edf5a -r 2ddb9a21f635 wrapper.sh --- a/wrapper.sh Tue Nov 01 10:15:37 2016 -0400 +++ b/wrapper.sh Tue Nov 01 10:48:38 2016 -0400 @@ -13,10 +13,11 @@ naive_output_ca=$9 naive_output_cg=${10} naive_output_cm=${11} -filter_unique=${12} -class_filter=${13} -empty_region_filter=${14} -fast=${15} +naive_output_ce=${12} +filter_unique=${13} +class_filter=${14} +empty_region_filter=${15} +fast=${16} mkdir $outdir tar -xzf $dir/style.tar.gz -C $outdir @@ -371,12 +372,14 @@ echo "
" >> $output echo "
" >> $output echo "
" >> $output + echo "
" >> $output fi echo "" >> $output echo "" >> $output echo "" >> $output echo "" >> $output +echo "" >> $output echo "" >> $output #antigen selection tab end @@ -434,6 +437,14 @@ echo "No IGM sequences" > "$outdir/change_o/change-o-defined_clones-summary-IGM.txt" fi + if [[ $(wc -l < $outdir/new_IMGT_IGE/1_Summary.txt) -gt "1" ]]; then + bash $dir/change_o/makedb.sh $outdir/new_IMGT_IGE.txz false false false $outdir/change_o/change-o-db-IGE.txt + bash $dir/change_o/define_clones.sh bygroup $outdir/change_o/change-o-db-IGE.txt gene first ham none min complete 3.0 $outdir/change_o/change-o-db-defined_clones-IGE.txt $outdir/change_o/change-o-defined_clones-summary-IGE.txt + else + echo "No IGE sequences" > "$outdir/change_o/change-o-db-defined_clones-IGE.txt" + echo "No IGE sequences" > "$outdir/change_o/change-o-defined_clones-summary-IGE.txt" + fi + PWD="$tmp" echo "
" >> $output #clonality tab @@ -464,15 +475,19 @@ clonality_table $outdir/change_o/change-o-defined_clones-summary.txt $output echo "
" >> $output -echo "
" >> $output +echo "
" >> $output clonality_table $outdir/change_o/change-o-defined_clones-summary-IGA.txt $output echo "
" >> $output -echo "
" >> $output +echo "
" >> $output clonality_table $outdir/change_o/change-o-defined_clones-summary-IGG.txt $output echo "
" >> $output -echo "
" >> $output +echo "
" >> $output +clonality_table $outdir/change_o/change-o-defined_clones-summary-IGM.txt $output +echo "
" >> $output + +echo "
" >> $output clonality_table $outdir/change_o/change-o-defined_clones-summary-IGM.txt $output echo "
" >> $output @@ -520,6 +535,7 @@ echo "The data for the 'IGG3' transition plotDownload" >> $output echo "The data for the 'IGG4' transition plotDownload" >> $output echo "The data for the 'IGM' transition plotDownload" >> $output +echo "The data for the 'IGE' transition plotDownload" >> $output echo "Antigen Selection" >> $output echo "AA mutation data per sequence IDDownload" >> $output @@ -533,6 +549,7 @@ echo "Baseline IGG dataDownload" >> $output echo "Baseline IGM PDFDownload" >> $output echo "Baseline IGM dataDownload" >> $output +echo "Baseline IGE dataDownload" >> $output echo "CSR" >> $output echo "The data for the CSR IGA pie plotDownload" >> $output @@ -548,6 +565,8 @@ echo "The Change-O DB defined clones summary file of IGGDownload" >> $output echo "The Change-O DB file with defined clones of IGMDownload" >> $output echo "The Change-O DB defined clones summary file of IGMDownload" >> $output +echo "The Change-O DB file with defined clones of IGEDownload" >> $output +echo "The Change-O DB defined clones summary file of IGEDownload" >> $output echo "Filtered IMGT output files" >> $output echo "An IMGT archive with just the matched and filtered sequencesDownload" >> $output @@ -560,6 +579,7 @@ echo "An IMGT archive with just the matched and filtered IGG3 sequencesDownload" >> $output echo "An IMGT archive with just the matched and filtered IGG4 sequencesDownload" >> $output echo "An IMGT archive with just the matched and filtered IGM sequencesDownload" >> $output +echo "An IMGT archive with just the matched and filtered IGE sequencesDownload" >> $output echo "" >> $output @@ -611,6 +631,14 @@ echo "No IGM sequences" > "$outdir/baseline_IGM.txt" fi + mkdir $outdir/baseline/IGE + if [[ $(wc -l < $outdir/new_IMGT_IGE/1_Summary.txt) -gt "1" ]]; then + cd $outdir/baseline/IGE + bash $dir/baseline/wrapper.sh 1 1 1 1 0 0 "25:26:38:55:65:104:-" $outdir/new_IMGT_IGE.txz "IGE" "$dir/baseline/IMGT-reference-seqs-IGHV-2015-11-05.fa" "$outdir/baseline_IGE.pdf" "Sequence.ID" "$outdir/baseline_IGE.txt" + else + echo "No IGE sequences" > "$outdir/baseline_IGE.txt" + fi + cd $tmp echo "Cleaning up *.RData files" @@ -626,6 +654,7 @@ cp $outdir/new_IMGT_IGA.txz ${naive_output_ca} cp $outdir/new_IMGT_IGG.txz ${naive_output_cg} cp $outdir/new_IMGT_IGM.txz ${naive_output_cm} + cp $outdir/new_IMGT_IGE.txz ${naive_output_ce} fi echo "" >> $outdir/base_overview.html