Skip to content
Snippets Groups Projects
Commit dff74494 authored by Dominik Brilhaus's avatar Dominik Brilhaus
Browse files

test runs from different machine

parent fe0e3cbb
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
## First cd into the (runs) folder, with the .yml file
cd /Users/dominikbrilhaus/03_DataPLANT_gitlab/samplearc_rnaseq/runs/kallisto_collect
cd /Users/dominikbrilhaus/gitlab_dataplant/samplearc_rnaseq/runs/kallisto_collect
## Let it flow
......
......@@ -7,4 +7,4 @@ in_metadata_file: "runs/merged_isa_metadata/merged_isa.tsv"
in_metadata_sample: "Sample.Name.2"
in_metadata_factor: "Factor..Photosynthesis.mode."
out_folder: runs/kallisto_collect
arc_root: /Users/dominikbrilhaus/03_DataPLANT_gitlab/samplearc_rnaseq
\ No newline at end of file
arc_root: /Users/dominikbrilhaus/gitlab_dataplant/samplearc_rnaseq
\ No newline at end of file
......@@ -3,7 +3,7 @@
## First cd into the (runs) folder, with the .yml file
cd /Users/dominikbrilhaus/03_DataPLANT_gitlab/samplearc_rnaseq/runs/kallisto_index
cd /Users/dominikbrilhaus/gitlab_dataplant/samplearc_rnaseq/runs/kallisto_index
## Let it flow
......
......@@ -4,4 +4,4 @@ sh_script:
path: ../../workflows/kallisto_index.sh
in_genome_ref: studies/TalinumGenomeDraft/resources/Talinum.gm.CDS.nt.fa
out_folder: runs/kallisto_index
arc_root: /Users/dominikbrilhaus/03_DataPLANT_gitlab/samplearc_rnaseq
arc_root: /Users/dominikbrilhaus/gitlab_dataplant/samplearc_rnaseq
......@@ -3,7 +3,7 @@
## First cd into the (runs) folder, with the .yml file
cd /Users/dominikbrilhaus/03_DataPLANT_gitlab/samplearc_rnaseq/runs/kallisto_quant
cd /Users/dominikbrilhaus/gitlab_dataplant/samplearc_rnaseq/runs/kallisto_quant
## Let it flow
......
......@@ -2,8 +2,8 @@ cores: 4
sh_script:
class: File
path: ../../workflows/kallisto_quant.sh
arc_root: /Users/dominikbrilhaus/03_DataPLANT_gitlab/samplearc_rnaseq
out_folder: runs/kallisto_quant
arc_root: /Users/dominikbrilhaus/gitlab_dataplant/samplearc_rnaseq
out_folder: runs/kallisto_quant/kallisto_results
in_kallisto_index: runs/kallisto_index/kallisto_index
in_fastq_folder: assays/Talinum_RNASeq_minimal/dataset
kallisto_bootstrap: 100
......
# cwltool README
## First cd into the (runs) folder, with the .yml file
cd /Users/dominikbrilhaus/gitlab_dataplant/samplearc_rnaseq/runs/kallisto_sleuth
## Let it flow
```bash
### store arc root (two levels up from here) as variable
arc_root=$(echo ${PWD%/*/*})
### replace arc root line in yml (specific to the machine from where this is run)
### not sure, if this works on linux...
sed -i '' "s|^arc_root:.*|arc_root: $arc_root|g" kallisto_sleuth.yml
### run with cwltool
cwltool ../../workflows/kallisto_sleuth.cwl kallisto_sleuth.yml
```
......@@ -4,4 +4,4 @@ r_script:
path: ../../workflows/shiny_prep.R
in_kallisto_df: runs/kallisto_collect/kallisto_df.csv
out_folder: runs/shiny_prep
arc_root: /Users/dominikbrilhaus/03_DataPLANT_gitlab/samplearc_rnaseq
arc_root: /Users/dominikbrilhaus/gitlab_dataplant/samplearc_rnaseq
#!/usr/bin/env Rscript
ö#!/usr/bin/env Rscript
################################################
#### Test area (Within R)
################################################
# arc_root <- "~/03_DataPLANT_gitlab/samplearc_rnaseq/"
# in_kallisto_results <- "runs/kallisto_sleuth/run1/01_kallisto_results"
# arc_root <- "~/gitlab_dataplant/samplearc_rnaseq/"
# # in_kallisto_results <- "runs/kallisto_sleuth/run1/01_kallisto_results"
# in_kallisto_results <- "runs/kallisto_quant/kallisto_results"
# in_metadata_file <- "runs/merged_isa_metadata/merged_isa.tsv"
# in_metadata_sample <- "Sample.Name.2"
# in_metadata_factor <- "Factor..Photosynthesis.mode."
......@@ -59,6 +60,11 @@ s2c <- samples[order(samples[[in_metadata_sample]]), c(in_metadata_sample, in_me
colnames(s2c) <- c("sample", "condition")
##### MAJOR TODO: properly connect metadata with samples via fastq filename
##### MAJOR TODO: properly connect metadata with samples via fastq filename
##### MAJOR TODO: properly connect metadata with samples via fastq filename
s2c$path <- kal_dirs
s2c <- s2c[order(s2c$sample), ]
......
#!/usr/bin/env bash
### Build kallisto index
### Build kallisto index
################################################
#### CWL-free tests
################################################
# in_genome_ref=studies/TalinumGenomeDraft/resources/Talinum.gm.CDS.nt.fa
# out_folder=runs/kallisto_index
# arc_root=/Users/dominikbrilhaus/gitlab_dataplant/samplearc_rnaseq
################################################
#### Read arguments from CLI
......
......@@ -3,6 +3,19 @@
### Map RNASeq reads via kallisto
### Note, this is written for single-end mode only
################################################
#### CWL-free tests
################################################
# arc_root=/Users/dominikbrilhaus/gitlab_dataplant/samplearc_rnaseq
# out_folder=runs/kallisto_quant/kallisto_results_v48_anaconda
# in_kallisto_index=runs/kallisto_index/kallisto_index
# in_fastq_folder=assays/Talinum_RNASeq_minimal/dataset
# kallisto_bootstrap=100
# kallisto_threads=4
# kallisto_fragmentLength=200
# kallisto_stdDev=20
################################################
#### Read arguments from CLI
################################################
......@@ -44,6 +57,3 @@ for j in $fastq_files; do
echo 'Kallisto done'
done
......@@ -8,7 +8,7 @@
#### Test area (Within R)
################################################
# arc_root <- "~/03_DataPLANT_gitlab/samplearc_rnaseq/"
# arc_root <- "~/gitlab_dataplant/samplearc_rnaseq/"
# in_sleuth <- "runs/kallisto_collect/kallisto_sleuthObject.RData"
# out_folder <- "runs/kallisto_sleuth"
......
......@@ -4,7 +4,7 @@
#### Test area (Within R)
################################################
# arc_root <- "~/03_DataPLANT_gitlab/samplearc_rnaseq/"
# arc_root <- "~/gitlab_dataplant/samplearc_rnaseq/"
# in_isa_study <- "studies/TalinumFacultativeCAM/isa.study.xlsx:plant_growth"
# in_isa_assay <- "assays/Talinum_RNASeq_minimal/isa.assay.xlsx:2EXT01_RNA:3ASY01_RNASeq"
# out_folder <- "runs/merged_isa_metadata"
......
......@@ -4,7 +4,7 @@
#### Test area (Within R)
################################################
# arc_root <- "~/03_DataPLANT_gitlab/samplearc_rnaseq/"
# arc_root <- "~/gitlab_dataplant/samplearc_rnaseq/"
# out_folder <- "runs/shiny_prep"
# in_kallisto_df <- "runs/kallisto_collect/kallisto_df.csv"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment