Previous changeset 5:c4fc8ff6e280 (2017-12-12) |
Commit message:
Deleted selected files |
removed:
GalaxyPath.pm README_STARV2 STAR_indexes.loc.sample sm_STAR2_V2.pl sm_STAR2_V2.xml tool_data_table_conf.xml.sample |
b |
diff -r c4fc8ff6e280 -r b7ed4ee33fb6 GalaxyPath.pm --- a/GalaxyPath.pm Tue Dec 12 10:16:23 2017 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
b |
@@ -1,19 +0,0 @@ -package GalaxyPath; - -use parent 'Config::IniFiles'; - -sub _convert_path{ - my ($path)=@_; - return $path if ($path=~/^\//); - return "$ENV{'MY_GALAXY_DIR'}/galaxy/$path"; -} - -sub my_path{ - my $self = shift; - my ($section,$item)=@_; - defined $ENV{'MY_GALAXY_DIR'} || die 'no MY_GALAXY_DIR environment variable defined'; - -e $ENV{'MY_GALAXY_DIR'} || die "$ENV{'MY_GALAXY_DIR'} path not found"; - return join(',',map{_convert_path($_)}split/,/,$self->val($section,$item)); -} - -1; |
b |
diff -r c4fc8ff6e280 -r b7ed4ee33fb6 README_STARV2 --- a/README_STARV2 Tue Dec 12 10:16:23 2017 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
[ |
@@ -1,82 +0,0 @@ -************************************************************************************ -****** Add perl and xml wrapper files in tools/ d ****** -************************************************************************************ - -Download files with hg clone in tools/ directory, then you have these files availables (wrappers and scripts): -sm_STAR2_V2.pl sm_STAR2_V2.xml -GalaxyPath.pm -STAR_indexes.loc.sample -STAR_indexes.loc.sample - -Add GalaxyPath.pm file in /path/to/galaxy_sources/ directory - -************************************************************************************ -****** loc file ****** -************************************************************************************ - -mv STAR_indexes.loc.sample STAR_indexes.loc -then -Add STAR_indexes.loc in yout tool-data/ repository - -************************************************************************************ -****** tool_conf.xml file to update ****** -************************************************************************************ - -Add a tag <tool> in your section "RNAseq" (for instance) in your config/tool_conf.xml file: - <tool file="/path/to/sm_STAR2_V2.xml" /> - -************************************************************************************ -****** job_conf.xml file to update ****** -************************************************************************************ -Add a new section in config/job_conf.xml file, in <destinations> tag, add these lines: - - <destination id="sm_star_single_V2_job" runner="drmaa"> - <param id="galaxy_external_runjob_script">scripts/drmaa_external_runner.py</param> - <param id="galaxy_external_killjob_script">scripts/drmaa_external_killer.py</param> - <param id="galaxy_external_chown_script">scripts/external_chown_script.py</param> - <param id="nativeSpecification">-clear -V -q galaxy.q -l mem=12G -l h_vmem=16G -pe parallel_smp 2</param> - <env file="/galaxydata/galaxy-prod/my_config/local_env.sh"/> - </destination> - -and in <tools> tag: - <tool id="sm_star_single_V2" destination="sm_star_single_V2_job"/> - -************************************************************************************ -****** tool_data_table_conf.xml file to update ****** -************************************************************************************ - -Add these lines in your tool_data_table_conf.xml file: - - <!-- location of loc file for STAR V2 tool --> - <table name="STAR_indexes" comment_char="#"> - <columns>value, dbkey, name, path</columns> - <file path="my_tool-data/STAR_indexes.loc" /> - </table> - -************************************************************************************ -****** Add paths in galaxy.ini configuation file ****** -************************************************************************************ - -Add a my_bin/ directory in galaxy repository with symbolic links to binaries: -$ ls -ltrah /path/to/galaxy/my_bin/STAR* -lrwxrwxrwx 1 galaxy-prod wbioinfo 11 3 juin 2016 /galaxydata/galaxy-prod/my_bin/STAR -> STAR_2.4.0i - - -Add paths to binaries and a section [workPath], at the end of galaxy.ini file: -Dans geany ../../config/galaxy.ini & -[workPath] -STAR_PATH=/path/to/galaxy/my_bin/STAR - - -Add a my_workspace/ directory in galaxy repository to run this module in debug mode: -cd /path/to/galaxy/; -mkdir my_workspace/; -chmod 777 my_workspace/; - -Add paths to binaries and a section [workPath], at the end of galaxy.ini file: -Dans geany ../../config/galaxy.ini & -[workPath] -MYWORKSPACE=/path/to/galaxy/my_workspace/ - - - |
b |
diff -r c4fc8ff6e280 -r b7ed4ee33fb6 STAR_indexes.loc.sample --- a/STAR_indexes.loc.sample Tue Dec 12 10:16:23 2017 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
b |
b'@@ -1,96 +0,0 @@\n-#This is a sample file distributed with Galaxy that enables tools\n-#to use a directory of Bowtie indexed sequences data files. You will\n-#need to create these data files and then create a bowtie_indices.loc\n-#file similar to this one (store it in this directory) that points to\n-#the directories in which those files are stored. The bowtie_indices.loc\n-#file has this format (longer white space characters are TAB characters):\n-#\n-#<unique_build_id> <dbkey> <display_name> <file_base_path>\n-#\n-#So, for example, if you had hg18 indexed stored in \n-#/depot/data2/galaxy/bowtie/hg18/, \n-#then the bowtie_indices.loc entry would look like this:\n-#\n-#hg18 hg18 hg18 /depot/data2/galaxy/bowtie/hg18/hg18\n-#\n-#and your /depot/data2/galaxy/bowtie/hg18/ directory\n-#would contain hg18.*.ebwt files:\n-#\n-#-rw-r--r-- 1 james universe 830134 2005-09-13 10:12 hg18.1.ebwt\n-#-rw-r--r-- 1 james universe 527388 2005-09-13 10:12 hg18.2.ebwt\n-#-rw-r--r-- 1 james universe 269808 2005-09-13 10:12 hg18.3.ebwt\n-#...etc...\n-#\n-#Your bowtie_indices.loc file should include an entry per line for each\n-#index set you have stored. The "file" in the path does not actually\n-#exist, but it is the prefix for the actual index files. For example:\n-#\n-#hg18canon hg18 hg18 Canonical /depot/data2/galaxy/bowtie/hg18/hg18canon\n-#hg18full hg18 hg18 Full /depot/data2/galaxy/bowtie/hg18/hg18full\n-#/orig/path/hg19 hg19 hg19 /depot/data2/galaxy/bowtie/hg19/hg19\n-#...etc...\n-#\n-\n-#Banques temporaires mises en place au debut de l installation de Galaxy\n-#AthalianaAllChr\tAthalianaAllChr\tAthalianaAllChr\t/bank/bowtiedb/AthalianaAllChr\n-#Drosophila_melanogaster_AllChr\tDrosophila_melanogaster_AllChr\tDrosophila melanogaster All Chr\t/bank/bowtiedb/Drosophila_melanogaster_AllChr\n-#Homo_sapiens_AllChr\tHomo_sapiens_AllChr\tHomo_sapiens_AllChr\t/bank/bowtiedb/Homo_sapiens_AllChr\n-#yeast.nt\tyeast.nt\tyeast nt\t/bank/bowtiedb/yeast.nt\n-\n-#Banques definitives transmises par l administrateur system sur /bank/bowtiedb\n-STAR-Arabidopsis_thaliana\tSTAR-Arabidopsis_thaliana\tSTAR-Arabidopsis_thaliana\t/bank/STARdb/STAR-Arabidopsis_thaliana\n-STAR-ensembl_gallus_gallus_genome_masked\tSTAR-ensembl_gallus_gallus_genome_masked\tSTAR-ensembl_gallus_gallus_genome_masked\t/bank/STARdb/STAR-ensembl_gallus_gallus_genome_soft_masked\n-STAR-Gorilla_gorilla\tSTAR-Gorilla_gorilla\tSTAR-Gorilla_gorilla\t/bank/STARdb/STAR-Gorilla_gorilla\n-STAR-hg38\thg38\tSTAR-ensembl_homo_sapiens_genome (GRCh38/hg38)\t/galaxydata/galaxy_bank/homo_sapiens/hg38/ensembl-89\n-STAR-Homo_sapiens_AllChr\tSTAR-Homo_sapiens_AllChr\tSTAR-Homo_sapiens_AllChr\t/bank/STARdb/STAR-Homo_sapiens_AllChr\n-STAR-ensembl_bos_taurus_genome\tSTAR-ensembl_bos_taurus_genome\tSTAR-ensembl_bos_taurus_genome\t/bank/STARdb/STAR-ensembl_bos_taurus_genome\n-STAR-ensembl_homo_sapiens_genome_masked\tSTAR-ensembl_homo_sapiens_genome_masked\tSTAR-ensembl_homo_sapiens_genome_masked\t/bank/STARdb/STAR-ensembl_homo_sapiens_genome_soft_masked\n-STAR-Macaca_mulatta\tSTAR-Macaca_mulatta\tSTAR-Macaca_mulatta\t/bank/STARdb/STAR-Macaca_mulatta\n-STAR-ensembl_bos_taurus_genome_masked\tSTAR-ensembl_bos_taurus_genome_masked\tSTAR-ensembl_bos_taurus_genome_masked\t/bank/STARdb/STAR-ensembl_bos_taurus_genome_soft_masked\n-STAR-ensembl_rattus_norvegicus_genome\tSTAR-ensembl_rattus_norvegicus_genome\tSTAR-ensembl_rattus_norvegicus_genome\t/bank/STARdb/STAR-ensembl_rattus_norvegicus_genome\n-STAR-Nomascus_leucogenys\tSTAR-Nomascus_leucogenys\tSTAR-Nomascus_leucogenys\t/bank/STARdb/STAR-Nomascus_leucogenys\n-STAR-ensembl_equus_caballus_genome\tSTAR-ensembl_equus_caballus_genome\tSTAR-ensembl_equus_caballus_genome\t/bank/STARdb/STAR-ensembl_equus_caballus_genome\n-STAR-ensembl_rattus_norvegicus_genome_masked\tSTAR-ensembl_rattus_norvegicus_genome_masked\tSTAR-ensembl_rattus_norvegicus_genome_masked\t/bank/STARdb/STAR-ensembl_rattus_norvegicus_genome_soft_masked\n-STAR-Pan_troglodytes\tSTAR-Pan_troglodytes\tSTAR-Pan_troglodytes\t/bank/STARdb/STAR-Pan_tr'..b'es_genome\tSTAR-ensembl_ovis_aries_genome\tSTAR-ensembl_ovis_aries_genome\t/bank/STARdb/STAR-ensembl_ovis_aries_genome\n-STAR-Mycoplasma_agalactiae_PG2_uid61619\tSTAR-Mycoplasma_agalactiae_PG2_uid61619\tSTAR-Mycoplasma_agalactiae_PG2_uid61619\t/bank/STARdb/STAR-Mycoplasma_agalactiae_PG2_uid61619_test\n-Mycoplasma_agalactiae_uid46679\tMycoplasma_agalactiae_uid46679\tMycoplasma_agalactiae_uid46679\t/bank/STARdb/STAR-Mycoplasma_agalactiae_uid46679_test\n-Mycoplasma_bovis_HB0801_uid168665\tMycoplasma_bovis_HB0801_uid168665\tMycoplasma_bovis_HB0801_uid168665\t/bank/STARdb/STAR-Mycoplasma_bovis_HB0801_uid168665_test\n-Mycoplasma_bovis_Hubei_1_uid68691\tMycoplasma_bovis_Hubei_1_uid68691\tMycoplasma_bovis_Hubei_1_uid68691\t/bank/STARdb/STAR-Mycoplasma_bovis_Hubei_1_uid68691_test\n-Mycoplasma_bovis_PG45_uid60859\tMycoplasma_bovis_PG45_uid60859\tMycoplasma_bovis_PG45_uid60859\t/bank/STARdb/STAR-Mycoplasma_bovis_PG45_uid60859_test\n-Mycoplasma_capricolum_ATCC_27343_uid58525\tMycoplasma_capricolum_ATCC_27343_uid58525\tMycoplasma_capricolum_ATCC_27343_uid58525\t/bank/STARdb/STAR-Mycoplasma_capricolum_ATCC_27343_uid58525_test\n-Mycoplasma_hominis_ATCC_23114_uid41875\tMycoplasma_hominis_ATCC_23114_uid41875\tMycoplasma_hominis_ATCC_23114_uid41875\t/bank/STARdb/STAR-Mycoplasma_hominis_ATCC_23114_uid41875_test\n-Mycoplasma_mycoides_capri_LC_95010_uid66189\tMycoplasma_mycoides_capri_LC_95010_uid66189\tMycoplasma_mycoides_capri_LC_95010_uid66189\t/bank/STARdb/STAR-Mycoplasma_mycoides_capri_LC_95010_uid66189_test\n-Mycoplasma_mycoides_SC_Gladysdale_uid197153\tMycoplasma_mycoides_SC_Gladysdale_uid197153\tMycoplasma_mycoides_SC_Gladysdale_uid197153\t/bank/STARdb/STAR-Mycoplasma_mycoides_SC_Gladysdale_uid197153_test\n-Mycoplasma_mycoides_SC_PG1_uid58031\tMycoplasma_mycoides_SC_PG1_uid58031\tMycoplasma_mycoides_SC_PG1_uid58031\t/bank/STARdb/STAR-Mycoplasma_mycoides_SC_PG1_uid58031_test\n-Mycoplasma_pneumoniae_309_uid85495\tMycoplasma_pneumoniae_309_uid85495\tMycoplasma_pneumoniae_309_uid85495\t/bank/STARdb/STAR-Mycoplasma_pneumoniae_309_uid85495_test\n-Mycoplasma_pneumoniae_FH_uid162027\tMycoplasma_pneumoniae_FH_uid162027\tMycoplasma_pneumoniae_FH_uid162027\t/bank/STARdb/STAR-Mycoplasma_pneumoniae_FH_uid162027_test\n-Mycoplasma_pneumoniae_M129_B7_uid185759\tMycoplasma_pneumoniae_M129_B7_uid185759\tMycoplasma_pneumoniae_M129_B7_uid185759\t/bank/STARdb/STAR-Mycoplasma_pneumoniae_M129_B7_uid185759_test\n-Mycoplasma_pneumoniae_M129_uid57709\tMycoplasma_pneumoniae_M129_uid57709\tMycoplasma_pneumoniae_M129_uid57709\t/bank/STARdb/STAR-Mycoplasma_pneumoniae_M129_uid57709_test\n-Mycoplasma_agalactiae_GCF_000089865\tMycoplasma_agalactiae_GCF_000089865\tMycoplasma_agalactiae_GCF_000089865\t/bank/STARdb/STAR-Mycoplasma_agalactiae_GCF_000089865\n-Assembly_Bacteria_2014-06-24-Mycoplasma_agalactiae_GCF_000089865\tAssembly_Bacteria_2014-06-24-Mycoplasma_agalactiae_GCF_000089865\tAssembly_Bacteria_2014-06-24-Mycoplasma_agalactiae_GCF_000089865\t/bank/ncbi/genomes/Assembly_Bacteria/Assembly_Bacteria_2014-06-24/STAR/STAR-Mycoplasma_agalactiae_GCF_000089865\n-STAR-ensembl_canis_familiaris_genome_soft_masked\tSTAR-ensembl_canis_familiaris_genome_soft_masked\tSTAR-ensembl_canis_familiaris_genome_soft_masked\t/bank/STARdb/STAR-ensembl_canis_familiaris_genome_soft_masked\n-STAR-ensembl_canis_familiaris_genome\tSTAR-ensembl_canis_familiaris_genome\tSTAR-ensembl_canis_familiaris_genome\t/bank/STARdb/STAR-ensembl_canis_familiaris_genome\n-STAR-ensembl_mus_musculus_primary_genome\tSTAR-ensembl_mus_musculus_primary_genome\tSTAR-ensembl_mus_musculus_primary_genome\t/bank/STARdb/STAR-ensembl_mus_musculus_primary_genome\n-STAR-Ovis_aries_2015-12-19_NCBI\tSTAR-Ovis_aries_2015-12-19_NCBI\tSTAR-Ovis_aries_2015-12-19_NCBI\t/bank/ncbi/genomes/Ovis_aries/current/STAR/STAR-Ovis_aries\n-#Note that for backwards compatibility with workflows, the unique ID of\n-#an entry must be the path that was in the original loc file, because that\n-#is the value stored in the workflow for that parameter. That is why the\n-#hg19 entry above looks odd. New genomes can be better-looking.\n-#\n' |
b |
diff -r c4fc8ff6e280 -r b7ed4ee33fb6 sm_STAR2_V2.pl --- a/sm_STAR2_V2.pl Tue Dec 12 10:16:23 2017 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
b |
b'@@ -1,236 +0,0 @@\n-#!/usr/bin/perl -w\n-\n-# usage : perl sm_STAR.pl <read1.fastq.gz> <read2.fastq.gz>\n-# 10/02/2014 - Wrapper du traitement des donn\xc3\xa9es RNAseq\n-# Sarah Maman\n-# Copyright (C) 2014 INRA\n-# This program is free software: you can redistribute it and/or modify\n-# it under the terms of the GNU General Public License as published by\n-# the Free Software Foundation, either version 3 of the License, or\n-# (at your option) any later version.\n-#\n-# This program is distributed in the hope that it will be useful,\n-# but WITHOUT ANY WARRANTY; without even the implied warranty of\n-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n-# GNU General Public License for more details.\n-# \n-# You should have received a copy of the GNU General Public License\n-# along with this program. If not, see <http://www.gnu.org/licenses/>.\n-#\n-use strict;\n-use File::Basename;\n-use Getopt::Long;\n-use lib "$ENV{\'MY_GALAXY_DIR\'}";\n-use GalaxyPath;\n-\n-my $cfg = GalaxyPath->new( -file => $ENV{"GALAXY_CONFIG_FILE"});\n-my $PATH = $cfg->my_path( \'workPath\', \'MYWORKSPACE\' );\n-my $STAR = $cfg->my_path( \'toolsPath\', \'STAR_PATH\' );\n-\n-\n-\n-my $Nthreads;\n-my $genome_path;\n-my $reads_selector;\n-my $input_read;\n-my $Read1fastqgz;\n-my $Read2fastqgz;\n-my $alignIntronMin;\n-my $alignIntronMax; \n-my $outFilterMismatchNmax;\n-my $orientation;\n-my $refownfastaref;\n-my $refselector;\n-my $refowngtf;\n-my $compress;\n-my $cufflinks;\n-my $outputfile;\n-my $outputfileT;\n-my $outputlogSJ;\n-my $outputlogfinal;\n-\n-\n-Getopt::Long::Configure( \'no_ignorecase\', \'bundling\' );\n-GetOptions (\n- \'runThreadN=i\' => \\$Nthreads,\n- \'genomeDir=s\' => \\$genome_path,\n- \'refselector=s\' => \\$refselector,\n- \'refownfastaref=s\' => \\$refownfastaref,\n- \'refowngtf=s\' => \\$refowngtf,\n- \'compress=s\' => \\$compress,\n- \'cufflinks=s\' => \\$cufflinks,\n- \'readsselector=s\'=> \\$reads_selector,\n- \'readFilesIn1=s\' => \\$Read1fastqgz,\n- \'readFilesIn2=s\' => \\$Read2fastqgz,\n- \'readsinputread=s\' => \\$input_read,\n- \'alignIntronMin=i\' => \\$alignIntronMin,\n- \'alignIntronMax=i\' => \\$alignIntronMax, \n- \'outFilterMismatchNmax=i\' => \\$outFilterMismatchNmax,\n- \'orientation=s\' => \\$orientation,\n- \'outputfile=s\' => \\$outputfile,\n- \'outputfileT=s\' => \\$outputfileT,\n- \'outputlogfinal=s\' => \\$outputlogfinal,\n- \'outputlogSJ=s\' => \\$outputlogSJ\n-) or die "Usage: Error in command line arguments\\n";\n-\n-my $cmd1 = \'\'; my $cmd2 =\'\';\n-my $cmd3 = \'\'; my $cmd4 =\'\';\n-\n-#STAR --runThreadN 4 --runMode genomeGenerate --genomeDir /work/smaman/TP_RNAseq/INDEX/ --genomeFastaFiles ITAG2.3_genomic_Ch6.fasta --sjdbGTFfile ITAG_pre2.3_gene_models_Ch6.gtf --sjdbOverhang 100\n-\n-#smaman@node001 /work/smaman/TP_RNAseq $ ls -ltrah INDEX\n-#-rw-r--r-- 1 smaman BIOINFO 331 17 juil. 11:55 genomeParameters.txt\n-#-rw-r--r-- 1 smaman BIOINFO 387K 17 juil. 11:55 exonGeTrInfo.tab\n-#-rw-r--r-- 1 smaman BIOINFO 53K 17 juil. 11:55 geneInfo.tab\n-#-rw-r--r-- 1 smaman BIOINFO 151K 17 juil. 11:55 transcriptInfo.tab\n-#-rw-r--r-- 1 smaman BIOINFO 171K 17 juil. 11:55 exonInfo.tab\n-#-rw-r--r-- 1 smaman BIOINFO 325K 17 juil. 11:55 sjdbList.fromGTF.out.tab\n-#-rw-r--r-- 1 smaman BIOINFO 272K 17 juil. 11:55 sjdbInfo.txt\n-#-rw-r--r-- 1 smaman BIOINFO 325K 17 juil. 11:55 sjdbList.out.tab\n-#-rw-r--r-- 1 smaman BIOINFO 11 17 juil. 11:55 chrName.txt\n-#-rw-r--r-- 1 smaman BIOINFO 9 17 juil. 11:55 chrLength.txt\n-#-rw-r--r-- 1 smaman BIOINFO 11 17 juil. 11:55 chrStart.txt\n-#-rw-r--r-- 1 smaman BIOINFO 20 17 juil. 11:55 chrNameLength.txt\n-#-rw-r--r-- 1 smaman BIOINFO 47M 17 juil. 11:55 Genome\n-#-rw-r--r-- 1 smaman BIOINFO 360M 17 juil. 11:55 SA\n-#-rw-r--r-- 1 smaman BIOINFO 1,5G 17 juil. 11:55 SAindex\n-\n-\n-#STAR --readFilesIn WTr1.fastq WTr2.fastq --genomeDir /work/smaman/TP_RNAseq/INDEX/ --sjdbGTFfile ITAG_pre2.3_gene_models_Ch6.gtf --outSAMtype BAM SortedByCoordinate --alignIntronMin 20 --alignIntronMax 1000000 --outFilterMismatchNmax 10 --outSAMtype BAM SortedByCoordinate --runThreadN 4 --outFileNam'..b';\n- system $cmd2;\n- #Info pour les biologistes\n- print STDOUT "STAR command run on cluster with oriented reads : \\n\\n $cmd2 \\n\\n \n- Instead, you need to run Cufflinks with the library option --library-type options. For example, cufflinks <\xe2\x80\xa6> -library-type fr-firststrand should be used for the \xe2\x80\x9cstandard\xe2\x80\x9d dUTP protocol. This option has to be used only for Cufflinks runs and not for STAR runs.\\n\\n";\n- }\n-}else{\n- \n- \n- my $in1;\n- my $in2;\n- if ($compress eq "compress"){\n- #Si besoin, recup\xc3\xa9ration du fichier de configuration avec modification de l extension\n- `ln -s $Read1fastqgz $dirresults/Read1.fastq.gz; ln -s $Read2fastqgz $dirresults/Read2.fastq.gz;`;\n- $in1="$dirresults/Read1.fastq.gz";\n- $in2="$dirresults/Read2.fastq.gz";\n- $cat="--readFilesCommand zcat";\n- }else\n- {`ln -s $Read1fastqgz $dirresults/Read1.fastq; ln -s $Read2fastqgz $dirresults/Read2.fastq;`;\n- $in1="$dirresults/Read1.fastq";\n- $in2="$dirresults/Read2.fastq";\n- $cat="";}\n- \n- \n- if ($orientation eq "No"){\n- $cmd3 = "(cd $dirresults; $STAR --runThreadN $Nthreads --genomeDir $genome_path --readFilesIn $in1 $in2 --outSAMtype BAM SortedByCoordinate --alignIntronMin $alignIntronMin --alignIntronMax $alignIntronMax --outFilterMismatchNmax $outFilterMismatchNmax $cat --outFileNamePrefix $nb $addcuff) >& ./out_Star.log 2>&1";\n- system $cmd3;\n- #Info pour les biologistes\n- print STDOUT "STAR command run on cluster without oriented reads : \\n\\n $cmd3 \\n\\n ";\n- }\n- else\n- {\n- $cmd4 = "(cd $dirresults; $STAR --runThreadN $Nthreads --genomeDir $genome_path --readFilesIn $in1 $in2 --outSAMtype BAM SortedByCoordinate --alignIntronMin $alignIntronMin --alignIntronMax $alignIntronMax --outFilterMismatchNmax $outFilterMismatchNmax $cat --outFileNamePrefix $nb $addcuff) >& ./out_Star.log 2>&1";\n- #Info pour les biologistes\n- system $cmd4;\n- print STDOUT "STAR command run on cluster with oriented reads : \\n\\n $cmd4 \\n\\n \n- Instead, you need to run Cufflinks with the library option --library-type options. For example, cufflinks <\xe2\x80\xa6> -library-type fr-firststrand should be used for the \xe2\x80\x9cstandard\xe2\x80\x9d dUTP protocol. This option has to be used only for Cufflinks runs and not for STAR runs.\\n\\n";\n- }\n-\n-\n-}\n-\n-#Si besoin :\n-#TEST 1 : command ligne on vm-galaxy\n-#TEST 2 perl Galaxy file : perl script.pl path/to/tests/files/used/for/galaxy/perl/script out1\n-\n-#Recuperation des fichiers par Galaxy\n-#-rw-r--r-- 1 smaman BIOINFO 35K 17 juil. 12:03 galaxyNameAligned.toTranscriptome.out.bam +++++ \n-#-rw-r--r-- 1 smaman BIOINFO 637 17 juil. 12:03 galaxyNameAligned.sortedByCoord.out.bam +++++++++\n-#-rw-r--r-- 1 smaman BIOINFO 0 17 juil. 12:03 galaxyNameSJ.out.tab ++++++++++++++++\n-#-rw-r--r-- 1 smaman BIOINFO 1,7K 17 juil. 12:03 galaxyNameLog.final.out +++++++++++++++\n-my $bam = glob("$dirresults/*$nb*Aligned.sortedByCoord.out.bam");\n-if (! -e $bam){print STDERR "Aligned.sortedByCoord.out.bam file not found. \\n";}else{`cp -a $bam $outputfile`;}\n-my $bamT = glob("$dirresults/*$nb*Aligned.toTranscriptome.out.bam");\n-if (! -e $bamT){print STDERR "Aligned.toTranscriptome.out.bam file not found. \\n";}else{`cp -a $bamT $outputfileT`;}\n-my $logSJ = glob("$dirresults/$nb*SJ.out.tab");\n-if (! -e $logSJ){print STDERR "SJ.out.tab log file not found. \\n";}else{`cp -a $logSJ $outputlogSJ`;}\n-my $logfinal = glob("$dirresults/$nb*Log.final.out");\n-if (! -e $logfinal){print STDERR "Log.final.out log file not found. \\n";}else{`cp -a $logfinal $outputlogfinal`;}\n-\n' |
b |
diff -r c4fc8ff6e280 -r b7ed4ee33fb6 sm_STAR2_V2.xml --- a/sm_STAR2_V2.xml Tue Dec 12 10:16:23 2017 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
[ |
b'@@ -1,219 +0,0 @@\n-<!--# Copyright (C) 2014 INRA\n-# This program is free software: you can redistribute it and/or modify\n-# it under the terms of the GNU General Public License as published by\n-# the Free Software Foundation, either version 3 of the License, or\n-# (at your option) any later version.\n-#\n-# This program is distributed in the hope that it will be useful,\n-# but WITHOUT ANY WARRANTY; without even the implied warranty of\n-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n-# GNU General Public License for more details.\n-# \n-# You should have received a copy of the GNU General Public License\n-# along with this program. If not, see http://www.gnu.org/licenses/.\n-#-->\n-<tool id="sm_star_single_V2" name="Map with STAR 2.4.0i">\n- <description> with GTF and reference</description>\n- <command interpreter="perl">sm_STAR2_V2.pl\n- --runThreadN $Nthreads\n- --refselector $ref.ref_selector\n- #if $ref.ref_selector =="genotoul":\n- --genomeDir $ref.reffile.fields.path\n-\t #else:\n- --refownfastaref $ref.ownfastaref \n- --refowngtf $ref.owngtf \n-\t #end if\n-\t #if $reads.reads_selector =="paired":\n- --readsselector $reads.reads_selector \n-\t\t\t --readFilesIn1 $Read1fastqgz \n- --readFilesIn2 $Read2fastqgz \n-\t #else:\n- --readsselector $reads.reads_selector \n-\t\t\t --readsinputread $reads.inputread\n-\t #end if\t\n- --compress $compress\n- --alignIntronMin $alignIntronMin\n- --alignIntronMax $alignIntronMax \n- --outFilterMismatchNmax $outFilterMismatchNmax\n- --orientation $orientation\n- --cufflinks $cufflinks\n- --outputfile $outputfile \n- --outputfileT $outputfileT\n- --outputlogSJ $outputlogSJ\n- --outputlogfinal $outputlogfinal\n- </command>\n- <inputs>\n- \n- <conditional name="reads">\n-\t\t\t\t\t\t <param name="reads_selector" type="select" label="Paired or single reads">\n-\t\t\t\t\t\t\t <option value="paired">Paired reads</option>\n-\t\t\t\t\t\t\t <option value="single">Single reads</option>\n-\t\t\t\t\t\t </param>\n-\t\t\t\t\t\t <when value="paired">\n-\t\t\t\t\t\t\t <param format="fastq.gz" name="Read1fastqgz" type="data" label="First input fastq gzipped file (read1.fastq.gz)"/>\n- <param format="fastq.gz" name="Read2fastqgz" type="data" label="Second input fastq gzipped file (read2.fastq.gz)"/> \t\t\t\t\t\t\t \t\t\t\t\t\t \n-\t\t\t\t\t\t </when>\n-\t\t\t\t\t\t <when value="single"> \n-\t\t\t\t\t\t\t <param format="fastq, fastqsanger, fastqillumina" name="inputread" type="data" label="Your single read RNA-Seq FASTQ file"/>\n-\t\t\t\t\t\t </when>\n-\t\t\t\t\t\t</conditional> \n-\t\t\t\t\t\t\n-\t\t\t\t\t\t<param name="compress" type="select" help="fastq files are compressed or not" label="compressed fastq file">\n- <option value="compress">Yes, compressed</option>\n- <option value="notcompress">Not compressed</option>\n- </param> \n-\t\t\t\t\t\t\n- \n- <param name="Nthreads" size="30" type="text" value="8" label="Threads number"/>\n- <param name="alignIntronMin" size="30" type="text" value="20" label="alignIntronMin"/>\n- <param name="alignIntronMax" size="30" type="text" value="1000000" label="alignIntronMax"/>\n- <param name="outFilterMismatchNmax" size="30" type="text" value="10" label="outFilterMismatchNmax"/>\n- <param name="orientation" type="select" help="Instead, you need to run Cufflinks with the library option --library-type options. For example, cufflinks -library-type fr-firststrand should be used for the \xe2\x80\x9cstandard\xe2\x80\x9d dUTP protocol. This option has to be used only for Cufflinks runs and not for STAR runs." label="RNAseq oriented (default : oriented for STAR - Option to be set only for cufflinks runs)">\n- '..b'astq --genomeDir /path/to/STARindex/ --sjdbGTFfile ref.gtf --alignIntronMin 20 --alignIntronMax 1000000 --outFilterMismatchNmax 10 --outSAMtype BAM SortedByCoordinate --runThreadN 4 --outFileNamePrefix galaxyName\n-\n-If fastq input files are compressed, add this option:\n-\n---readFilesCommand zcat for fastq.gz files.\n-\n-For Cufflinks-like strand field flag and types of quantification requested, add these options:\n-\n---outSAMstrandField intronMotif --outFilterIntronMotifs RemoveNoncanonical --outFilterType BySJout --quantMode TranscriptomeSAM \n-\n-\n-\n-**Parameters**\n- \n---readFilesIn : name(s) (with path) of the files containing the sequences to be mapped (e.g. RNA-seq FASTQ files). If using Illumina paired-end reads, the read1 and read2 files have to be supplied. STAR can process both FASTA and FASTQ files. Multi-line (i.e. sequence split in multiple lines) FASTA file are supported. \n-\n---sjdbGTFfile : species the path to the file with annotated transcripts in the standard GTF format. STAR will extract splice junctions from this file and use them to greatly improve accuracy of the mapping. While this is optional, and STAR can be run without annotations, using annotations is highly recommended whenever they are available. \n-\n-\n-**If fastq input files are compressed :**\n-\n---readFilesCommand : UncompressionCommand option, where UncompressionCommand is the un-compression command that takes the file name as input parameter, and sends the uncompressed output to stdout. For example, for gzipped files (*.gz) use --readFilesCommand zcat OR --readFilesCommand gzip -c. For bzip2-compressed files, use --readFilesCommand bzip2 -c\n-\n-\n-**Other parameters**\n-\n---alignIntronMin (default: 21) : minimum intron size: genomic gap is considered intron if its length>=alignIntronMin, otherwise it is considered Deletion\n-\n---alignIntronMax (default: 0) : maximum intron size, if 0, max intron size will be determined by (2\xcb\x86winBinNbits)*winAnchorDistNbins\n-\n---outFilterMismatchNmax (default: 10) alignment will be output only if it has fewer mismatches than this value.\n-\n---outSAMtype BAM SortedByCoordinate : output sorted by coordinate Aligned.sortedByCoord.out.bam file, similar to samtools sort command.\n-\n---outFileNamePrefix : output files name prefix (including full or relative path). Can only be defined on the command line.\n-\n-\n-**For Cufflinks-like strand field flag**\n-\n---outSAMstrandField intronMotif : strand derived from the intron motif. Reads with inconsistent and/or non-canonical introns are filtered out.\n-\n-In addition, it is recommended to remove the non-canonical junctions for Cufflinks runs using --outFilterIntronMotifs RemoveNoncanonical.\n-\n---outFilterType BySJout : keep only those reads that contain junctions that passed filtering into SJ.out.tab\n-\n-\n-**Types of quantification requested**\n-\n---quantMode TranscriptomeSAM : output SAM/BAM alignments to transcriptome into a separate file\n-\n-\n-**job**\n-\n---runThreadN option defines the number of threads to be used for genome generation, it has to be set to the number of available cores on the server node.\n-\n-\n-\n----\n-\n-Version Galaxy Tool : V2.0\n-\n-Versions of bioinformatics tools used :\n- \n- A. Dobin et al, Bioinformatics 2012; doi: 10.1093/bioinformatics/bts635\n- \n- "STAR: ultrafast universal RNA-seq aligner" \n- \n- Important announcements from the author: https://groups.google.com/d/forum/rna-star-announce\n- \n- General user mailing list (recommended): https://groups.google.com/d/forum/rna-star\n- \n- Email: dobin@cshl.edu \n- \n- STAR_2.4.0i\n-\n----\n-\n-Contacts (noms et emails) : sigenae-support@listes.inra.fr\n-\n-E-learning available : Not yet.\n-\n-Please cite :\n- \n- Depending on the help provided you can cite us in acknowledgements, references or both.\n- \n- Examples :\n- Acknowledgements\n- We wish to thank the SIGENAE group for ....\n- \n- References\n- X. SIGENAE [http://www.sigenae.org/]\n-\n- </help>\n-</tool>\n' |
b |
diff -r c4fc8ff6e280 -r b7ed4ee33fb6 tool_data_table_conf.xml.sample --- a/tool_data_table_conf.xml.sample Tue Dec 12 10:16:23 2017 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
b |
@@ -1,7 +0,0 @@ -<tables> - <!-- location of loc file for STAR V2 tool --> - <table name="STAR_indexes" comment_char="#"> - <columns>value, dbkey, name, path</columns> - <file path="my_tool-data/STAR_indexes.loc" /> - </table> -</tables> |