Skip to content

Commit

Permalink
finding pattern takes one mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
sdparekh committed Jan 17, 2019
1 parent 64c45b2 commit 6b5cb07
Show file tree
Hide file tree
Showing 25 changed files with 1,158 additions and 2 deletions.
1,151 changes: 1,151 additions & 0 deletions Approx.pm

Large diffs are not rendered by default.

Empty file modified ExampleData/Example.BCstats.txt
100644 → 100755
Empty file.
Empty file modified ExampleData/Example.filtered.tagged.Log.final.out
100644 → 100755
Empty file.
Empty file modified ExampleData/Example.filtered.tagged.Log.out
100644 → 100755
Empty file.
Empty file modified ExampleData/Example.filtered.tagged.Log.progress.out
100644 → 100755
Empty file.
Empty file modified ExampleData/Example.filtered.tagged.SJ.out.tab
100644 → 100755
Empty file.
Empty file modified ExampleData/Example.nohup.out
100644 → 100755
Empty file.
Empty file modified ExampleData/Example.postmap.yaml
100644 → 100755
Empty file.
Empty file modified ExampleData/Example.yaml
100644 → 100755
Empty file.
Empty file modified ExampleData/zUMIs_output/.currentRGgroup.txt
100644 → 100755
Empty file.
Empty file modified ExampleData/zUMIs_output/Examplekept_barcodes.txt
100644 → 100755
Empty file.
Empty file modified ExampleData/zUMIs_output/expression/Example.dgecounts.rds
100644 → 100755
Empty file.
Empty file modified ExampleData/zUMIs_output/stats/Example.UMIcounts.txt
100644 → 100755
Empty file.
Empty file modified ExampleData/zUMIs_output/stats/Example.bc.READcounts.rds
100644 → 100755
Empty file.
Empty file modified ExampleData/zUMIs_output/stats/Example.detected_cells.pdf
100644 → 100755
Empty file.
Empty file.
Empty file modified ExampleData/zUMIs_output/stats/Example.features.pdf
100644 → 100755
Empty file.
Empty file modified ExampleData/zUMIs_output/stats/Example.geneUMIcounts.pdf
100644 → 100755
Empty file.
Empty file modified ExampleData/zUMIs_output/stats/Example.genecounts.txt
100644 → 100755
Empty file.
Empty file modified ExampleData/zUMIs_output/stats/Example.readspercell.pdf
100644 → 100755
Empty file.
Empty file modified ExampleData/zUMIs_output/stats/Example.readspercell.txt
100644 → 100755
Empty file.
Empty file modified ExampleData/zUMIs_runlog.txt
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ The previous implementation of zUMIs has moved to an [archive branch in GitHub](


## Changelog
17 Jan 2019: [zUMIs2.2.3 released] (https://github.com/sdparekh/zUMIs/releases/tag/zUMIs2.2.3).
We implemented fuzzy matching for pattern finding. From this version onwards, finding patterns take one mismatch into account.

14 Oct 2018: [zUMIs2.2 released](https://github.com/sdparekh/zUMIs/releases/tag/zUMIs2.2).
Since the big update of zUMIs2, we have continuously improved performance and fixed bugs. Additionally, we have implemented a barcode-frameshift correction, which helps for [ddSeq/Surecell data](https://github.com/sdparekh/zUMIs/wiki/Protocol-specific-setup#ddseq--surecell-3).

Expand Down
4 changes: 3 additions & 1 deletion fqfilter_v2.pl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ BEGIN
}
use lib "$zumisdir";
use distilReads;
use Approx;

open(YL,"$rscriptexc $zumisdir/readYaml4fqfilter.R $yml |");
@arg=<YL>;
Expand Down Expand Up @@ -218,7 +219,8 @@ BEGIN
$mtmp = grep {$_ < $umithres[1]} @mquals;

# print out only if above the quality threshold
if(($btmp < $bcthres[0]) && ($mtmp < $umithres[0]) && ($mcrseq =~ m/^$checkpattern/) && ($isPass ne "fail")){
if(($btmp < $bcthres[0]) && ($mtmp < $umithres[0]) && ( Approx::amatch($checkpattern, [ 1 ],$mcrseq) ) && ($isPass ne "fail")){
#if(($btmp < $bcthres[0]) && ($mtmp < $umithres[0]) && ($mcrseq =~ m/^$checkpattern/) && ($isPass ne "fail")){
#if(($btmp < $bcthres[0]) && ($mtmp < $umithres[0])){

chomp($rid);
Expand Down
2 changes: 1 addition & 1 deletion zUMIs-master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Pipeline to run UMI-seq analysis from fastq to read count tables.
# Authors: Swati Parekh, Christoph Ziegenhain, Beate Vieth & Ines Hellmann
# Contact: sparekh@age.mpg.de or christoph.ziegenhain@ki.se
vers=2.2.2c
vers=2.2.3
currentv=`curl -s https://raw.githubusercontent.com/sdparekh/zUMIs/master/zUMIs-master.sh | grep '^vers=' | cut -f2 -d "="`
if [ "$currentv" != "$vers" ]; then echo -e "------------- \n\n Good news! A newer version of zUMIs is available at https://github.com/sdparekh/zUMIs \n\n-------------"; fi

Expand Down

0 comments on commit 6b5cb07

Please sign in to comment.