# HG changeset patch # User dereeper # Date 1737982968 0 # Node ID b8ea3d2945b5475d4dabe19b616a86a74d37773b # Parent 716821f47909c534d66590ae9cdc3537ce8cfc23 Uploaded diff -r 716821f47909 -r b8ea3d2945b5 PanExplorer.xml --- a/PanExplorer.xml Tue Dec 17 13:19:43 2024 +0000 +++ b/PanExplorer.xml Mon Jan 27 13:02:48 2025 +0000 @@ -1,13 +1,6 @@ Bacterial pan-genome analysis - perl-yaml singularity docker.io/dereeper/panexplorer_workflow:latest @@ -27,55 +20,23 @@ cat config.yaml >$logfile; -if [ ! -f ${__tool_directory__}/panexplorer_workflow_latest.sif ]; then wget -O ${__tool_directory__}/panexplorer_workflow_latest.sif https://panexplorer.southgreen.fr/singularity/panexplorer_workflow_latest.sif >>$logfile 2>&1;fi; - - - - +touch $vcf; #if $software=="pgap" -singularity exec ${__tool_directory__}/panexplorer_workflow_latest.sif cat \$PANEX_PATH/Snakemake_files/Snakefile_wget_PGAP_heatmap_upset_COG 1>snakefile 2>>$logfile; + snakemake --cores 1 --config identity=$min_identity -s \$PANEX_PATH/Snakemake_files/Snakefile_wget_PGAP_heatmap_upset_COG >>$logfile 2>&1; #else if $software=="roary" -singularity exec ${__tool_directory__}/panexplorer_workflow_latest.sif cat \$PANEX_PATH/Snakemake_files/Snakefile_wget_roary_heatmap_upset_COG 1>snakefile 2>>$logfile; + snakemake --cores 1 --config identity=$min_identity -s \$PANEX_PATH/Snakemake_files/Snakefile_wget_roary_heatmap_upset_COG >>$logfile 2>&1; #else if $software=="orthofinder" -singularity exec ${__tool_directory__}/panexplorer_workflow_latest.sif cat \$PANEX_PATH/Snakemake_files/Snakefile_orthofinder_heatmap_upset 1>snakefile 2>>$logfile; + snakemake --cores 1 --config identity=$min_identity -s \$PANEX_PATH/Snakemake_files/Snakefile_orthofinder_heatmap_upset >>$logfile 2>&1; #else if $software=="cactus" - singularity exec ${__tool_directory__}/panexplorer_workflow_latest.sif cat \$PANEX_PATH/Snakemake_files/Snakefile_wget_cactus_heatmap_upset_COG2 1>snakefile 2>>$logfile; + snakemake --cores 1 --config identity=$min_identity -s \$PANEX_PATH/Snakemake_files/Snakefile_wget_cactus_heatmap_upset_COG2 >>$logfile 2>&1; #else if $software=="pggb" -singularity exec ${__tool_directory__}/panexplorer_workflow_latest.sif cat \$PANEX_PATH/Snakemake_files/Snakefile_wget_pggb_heatmap_upset_COG 1>snakefile 2>>$logfile; + snakemake --cores 1 --config identity=$min_identity -s \$PANEX_PATH/Snakemake_files/Snakefile_wget_pggb_heatmap_upset_COG >>$logfile 2>&1; #else - singularity exec ${__tool_directory__}/panexplorer_workflow_latest.sif cat \$PANEX_PATH/Snakemake_files/Snakefile_wget_panacota_heatmap_upset_COG 1>snakefile 2>>$logfile; + snakemake --cores 1 --config identity=$min_identity -s \$PANEX_PATH/Snakemake_files/Snakefile_wget_panacota_heatmap_upset_COG >>$logfile 2>&1; #end if - -singularity exec ${__tool_directory__}/panexplorer_workflow_latest.sif snakemake --cores 1 --config identity=$min_identity -s snakefile >>$logfile 2>&1; - + -cp -rf outputs/upsetr.svg $upset; -cp -rf outputs/pav_matrix.tsv $output; -cp -rf outputs/heatmap.svg.gz $heatmap; -cp -rf outputs/heatmap.svg.heatmap_plotly.html $heatmap_html; -cp -rf outputs/rarefaction_curves.txt $rarefaction_curves; -cp -rf outputs/rarefaction_curves.svg $rarefaction_curves_svg; -cp -rf outputs/heaps.tsv $heaps; -cp -rf outputs/heatmap.svg.complete.pdf.distance_matrix.txt $distance_matrix; -cp -rf outputs/heatmap.svg.complete.pdf.distance_matrix.hclust.newick $njtree; - -#if $software!="orthofinder" -cp -rf outputs/GCskew.txt $gcfile; -cp -rf outputs/cog_output.txt $cogfile; -cp -rf outputs/cog_stats.txt $outcog_stat; -cp -rf outputs/cog_stats2.txt $outcog_stat2; -cp -rf outputs/cog_of_clusters.txt $outcog_clusters; -cp -rf outputs/genomes/genes.txt $genes; -cp -rf outputs/fastani.out.matrix.complete $fastani; -cp -rf outputs/fastani.out.svg $ani_svg; -#end if - -#if $software=="pggb" -cp -rf outputs/all_genomes.vcf $vcf; -#else -touch $vcf; -#end if ]]> @@ -117,24 +78,24 @@ - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +