# HG changeset patch # User jpayne # Date 1599186764 14400 # Node ID 619d56f369afc25c32bf79e5a744042dcc3cc87e "planemo upload commit e779d2916df6a1f2f5884c3abfac3bf3a1e59717" diff -r 000000000000 -r 619d56f369af confindr.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/confindr.xml Thu Sep 03 22:32:44 2020 -0400 @@ -0,0 +1,91 @@ + + + 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}, +} + + \ No newline at end of file diff -r 000000000000 -r 619d56f369af test-data/confindr_report.csv --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/confindr_report.csv Thu Sep 03 22:32:44 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 619d56f369af 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 03 22:32:44 2020 -0400 @@ -0,0 +1,2 @@ +Sample,Genus,NumContamSNVs,ContamStatus,PercentContam,PercentContamStandardDeviation,BasesExamined,DatabaseDownloadDate +example,Error processing sample,0,False,ND,ND,0,ND diff -r 000000000000 -r 619d56f369af test-data/example_R1.fastq.bz2 Binary file test-data/example_R1.fastq.bz2 has changed diff -r 000000000000 -r 619d56f369af test-data/example_R1.fastq.gz Binary file test-data/example_R1.fastq.gz has changed diff -r 000000000000 -r 619d56f369af test-data/example_R2.fastq.bz2 Binary file test-data/example_R2.fastq.bz2 has changed diff -r 000000000000 -r 619d56f369af test-data/example_R2.fastq.gz Binary file test-data/example_R2.fastq.gz has changed