Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with running the pipeline #419

Open
Chrisdoan9 opened this issue Jun 7, 2023 · 1 comment
Open

Help with running the pipeline #419

Chrisdoan9 opened this issue Jun 7, 2023 · 1 comment

Comments

@Chrisdoan9
Copy link

Chrisdoan9 commented Jun 7, 2023

I tried to run the pipeline but as a new user, I got some difficulties. I have 8 fastq files and tried to make the files necessary to run the pipeline.

OS/Platform

  • OS/Platform: SCG cluster

Input JSON file

Here is my json file:

{
    "atac.title" : “atac)”,
    "atac.description" : “Encode”,

    "atac.pipeline_type" : "atac",
    "atac.align_only" : false,
    "atac.true_rep_only" : false,

    "atac.genome_tsv" : "https://storage.googleapis.com/encode-pipeline-genome-data/genome_tsv/v4/hg38.tsv",

    "atac.paired_end" : true,

    "atac.fastqs_wt_rep1_R1" : [ "rep1_R1_L1.fastq.gz" ],
    "atac.fastqs_wt_rep1_R2" : [ "rep1_R2_L1.fastq.gz"],
    "atac.fastqs_wt_rep2_R1" : [ "rep2_R1_L1.fastq.gz" ],
    "atac.fastqs_wt_rep2_R2" : [ "rep2_R2_L1.fastq.gz" ],
    "atac.fastqs_di_rep1_R1" : [ "rep1_R1_L1.fastq.gz" ],
    "atac.fastqs_di_rep1_R2" : [ "rep1_R2_L1.fastq.gz"],
    "atac.fastqs_di_rep2_R1" : [ "rep2_R1_L1.fastq.gz" ],
    "atac.fastqs_di_rep2_R2" : [ "rep2_R2_L1.fastq.gz" ],

    "atac.auto_detect_adapter" : true,


    "atac.multimapping" : 4
}

I am not sure what to put in the input file because I see there is a section name input file in the instruction. Is it something like this?

    {

path/to/fastq.gz

    }

After having a correct json file, I should run:

caper hpc submit atac.wdl -i "${INPUT_JSON}" --singularity --leader-job-name ANY_GOOD_LEADER_JOB_NAME

Is that correct? Thank you so much 😃.

@leepc12
Copy link
Contributor

leepc12 commented Aug 2, 2023

If you are working on SCG cluster, then run caper init slurm and follow instruction in the configuration file ~/.caper/default.conf (e.g. define slurm partition name).

Yes, replace "${INPUT_JSON}" with your input JSON file path. Your input JSON looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants