# HG changeset patch # User jpayne # Date 1600969152 14400 # Node ID 4576b4dc9344603ee74a9210a1505eae8422a12d "ConFindr initial commit" diff -r 000000000000 -r 4576b4dc9344 confindr.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/confindr.xml Thu Sep 24 13:39:12 2020 -0400 @@ -0,0 +1,92 @@ + + + confindr + + ./${name}/${name}_R1.fastq + #else + && cp $forward ./${name}/${name}_R1.fastq + #end if + #if $reverse.is_of_type("fastq.gz","fastqsanger.gz") + && cp $reverse ./${name}/${name}_R2.fastq.gz + #else if $reverse.is_of_type("fastq.bz2", "fastqsanger.bz2") + && tar -vxjOf $reverse > ./${name}/${name}_R2.fastq + #else + && cp $reverse ./${name}/${name}_R2.fastq + #end if + ## !!! confindr in single-threaded mode; race condition bugs in multiple threads !!! ## + && confindr.py -i ./${name} -o ./output -t 1 + && cat ./output/confindr_log.txt + && ls -lah ./output/confindr_report.csv + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10.7717/peerj.6995 + +@misc{githubConFindr, + author = {LastTODO, FirstTODO}, + year = {TODO}, + title = {ConFindr}, + publisher = {GitHub}, + journal = {GitHub repository}, + url = {https://github.com/OLC-Bioinformatics/ConFindr}, +} + + diff -r 000000000000 -r 4576b4dc9344 test-data/confindr_report.csv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/confindr_report.csv Thu Sep 24 13:39:12 2020 -0400 @@ -0,0 +1,2 @@ +Sample,Genus,NumContamSNVs,ContamStatus,PercentContam,PercentContamStandardDeviation,BasesExamined,DatabaseDownloadDate +Unnamed_Collection,Error processing sample,0,False,ND,ND,0,ND diff -r 000000000000 -r 4576b4dc9344 test-data/confindr_report_2.csv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/confindr_report_2.csv Thu Sep 24 13:39:12 2020 -0400 @@ -0,0 +1,2 @@ +Sample,Genus,NumContamSNVs,ContamStatus,PercentContam,PercentContamStandardDeviation,BasesExamined,DatabaseDownloadDate +example,Error processing sample,0,False,ND,ND,0,ND