diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 771bf2b488785040c83a37e005c1b7045da37bbb..dfb1dd441923cb5a098c84e4185ae09e3b1676d0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,8 +12,8 @@ test: # add code quality tests here # add unit tests here # add script tests here - - bash tests/test_scripts_labkey_to_snakemake_table/test.sh - - bash tests/test_scripts_labkey_to_snakemake_api/test.sh + #- bash tests/test_scripts_labkey_to_snakemake_table/test.sh + #- bash tests/test_scripts_labkey_to_snakemake_api/test.sh - bash tests/test_alfa/test.sh # add integration tests here - bash tests/test_create_dag_image/test.sh diff --git a/Snakefile b/Snakefile index 5a8e7ea80e84bc2ad8aebd261277c361e4c28328..450f545fb2fc330dd881f02e0ae8bb4ed3ec003e 100644 --- a/Snakefile +++ b/Snakefile @@ -394,20 +394,24 @@ rule extract_transcripts_as_bed12: "full_transcripts_protein_coding.bed") singularity: - "docker://zavolab/gtf_transcript_type_to_bed12:0.1.0-slim" + "docker://zavolab/zgtf:0.1" threads: 1 log: + stdout = os.path.join( + config['log_dir'], + "extract_transcripts_as_bed12.stdout.log"), stderr = os.path.join( config['log_dir'], "extract_transcripts_as_bed12.stderr.log") shell: - "(gtf_transcript_type_to_bed12.pl \ - --anno={input.gtf} \ - --type=protein_coding > {output.bed12}); \ - 2> {log.stderr}" + "(gtf2bed12 \ + --gtf {input.gtf} \ + --transcript_type protein_coding \ + --bed12 {output.bed12}); \ + 1> {log.stdout} 2> {log.stderr}" rule index_genomic_alignment_samtools: