[DOCKTESTERS] [PAWG-TECH] Draft agenda for PCAWG-TECH teleconference

Miguel Vazquez miguel.vazquez at cnio.es
Sat Oct 15 02:52:19 EDT 2016


Just to clarify Denis, the BAS file was not present in the download of the
donor data, while it was present in the download of the test data. That is
as much as I observed, and this matched Keiran comment that a missing BAS
file was consistent with the pindel error.I have no idea of what the
workflow was doing so as far as I know the BAS could have been created
correctly and the error was something else.

Best regards

On Sat, Oct 15, 2016 at 12:20 AM, Denis Yuen <Denis.Yuen at oicr.on.ca> wrote:

> Hi,
>
> Adam, to summarise:
> My observations seem to match yours, the bas file and input bams are
> generated inside the Docker container with the test data. However, Miguel
> has observed that something else seems to be happening with DO50311 that
> looks like the bas file being missing. I'm currently running that donor to
> see if I can extract more information and determine what is occurring.
>
>
> ------------------------------
> *From:* Adam Struck [strucka at ohsu.edu]
> *Sent:* October 14, 2016 6:10 PM
> *To:* Denis Yuen; Keiran Raine
>
> *Cc:* docktesters at lists.icgc.org
> *Subject:* Re: [DOCKTESTERS] [PAWG-TECH] Draft agenda for PCAWG-TECH
> teleconference
>
> Hi Denis,
>
>
>
> Sorry, to chime in late.  The bas file and input BAMs should be getting
> colocalized already (see below). Where are these files ending up when you
> run the workflow?
>
>
>
> Inputs are symlinked to the OUTDIR.
>
> https://github.com/adamstruck/CGP-Somatic-Docker/blob/
> develop/src/main/java/io/seqware/pancancer/CgpSomaticCore.java#L1035-L1039
> <http://redir.aspx?REF=wh2FSjXBBWFHO3yilLgUKx-6F_t0RKTuNfMfdozuKfqyzCQcf_TTCAFodHRwczovL2dpdGh1Yi5jb20vYWRhbXN0cnVjay9DR1AtU29tYXRpYy1Eb2NrZXIvYmxvYi9kZXZlbG9wL3NyYy9tYWluL2phdmEvaW8vc2Vxd2FyZS9wYW5jYW5jZXIvQ2dwU29tYXRpY0NvcmUuamF2YSNMMTAzNS1MMTAzOQ..>
>
>
>
> Bas files are written to OUTDIR
>
> https://github.com/adamstruck/CGP-Somatic-Docker/blob/
> develop/src/main/java/io/seqware/pancancer/CgpSomaticCore.java#L769-L780
> <http://redir.aspx?REF=QDWzSA3Tp4IrlbNbPM9uuOnAh88WrTGLO9-dh7ITegiyzCQcf_TTCAFodHRwczovL2dpdGh1Yi5jb20vYWRhbXN0cnVjay9DR1AtU29tYXRpYy1Eb2NrZXIvYmxvYi9kZXZlbG9wL3NyYy9tYWluL2phdmEvaW8vc2Vxd2FyZS9wYW5jYW5jZXIvQ2dwU29tYXRpY0NvcmUuamF2YSNMNzY5LUw3ODA.>
>
>
>
> I have now run 25 donors worth of data (from PRAD-UK) through this
> workflow using the WDL descriptor and the cromwell engine on the CCC
> platform without an issue.
>
>
>
> -Adam
>
>
>
> *From: *<docktesters-bounces+strucka=ohsu.edu at lists.icgc.org> on behalf
> of Denis Yuen <Denis.Yuen at oicr.on.ca>
> *Date: *Friday, October 14, 2016 at 2:55 PM
> *To: *Keiran Raine <kr2 at sanger.ac.uk>
> *Cc: *"docktesters at lists.icgc.org" <docktesters at lists.icgc.org>
> *Subject: *Re: [DOCKTESTERS] [PAWG-TECH] Draft agenda for PCAWG-TECH
> teleconference
>
>
>
> Hi,
>
> Just as a heads-up for the end-of-week in this thread.
>
> > RUN cpanm --mirror http://cpan.metacpan.org
> <http://redir.aspx?REF=RQAmkB4bpbTDWerytcYROM04Roxwq8hEC0yi66bgidOyzCQcf_TTCAFodHRwczovL3dlYm1haWwub2ljci5vbi5jYS9vd2EvcmVkaXIuYXNweD9SRUY9ZWlKOHNnNUF6S1dEbXlmNVB5ZW9zN0preG9zOGFVcl9KMFRNVTQ2RHJ3WnlqVUUzZV9UVENBRm9kSFJ3T2k4dlkzQmhiaTV0WlhSaFkzQmhiaTV2Y21jLg..>
> -l $OPT File::ShareDir File::ShareDir::Install Bio::Root::Version at 1.006924
> Const::Fast Graph && \
>      rm -rf ~/.cpanm
>
> This got me on the right track, I actually needed the following syntax
>
> RUN cpanm --mirror https://cpan.metacpan.org -l $OPT File::ShareDir File::ShareDir::Install CJFIELDS/BioPerl-1.6.924.tar.gz Const::Fast Graph && \
>
>      rm -rf ~/.cpanm
>
>
> However, it looks like making the suggested change breaks the workflow
> when attempting to run with the test data. In short, the bas file is
> definitely being generated inside the Docker container. Moving it to the
> suggested location breaks the workflow later.
>
> I'm currently attempting to run the donor DO50311 to see if I can get
> more insight into what is going on.
> ------------------------------
>
> *From:* Keiran Raine [kr2 at sanger.ac.uk]
> *Sent:* October 12, 2016 2:09 PM
> *To:* Denis Yuen
> *Cc:* docktesters at lists.icgc.org
> *Subject:* Re: [DOCKTESTERS] [PAWG-TECH] Draft agenda for PCAWG-TECH
> teleconference
>
> Hi Denis,
>
>
>
> You've hit an issue that only has occurred in the last few weeks for us
> also.
>
>
>
> BioPerl released a new version (first in ~20 months) that split the
> repository moving a whole section into a different package.
>
>
>
> The fix would be to force the first install of BioPerl to a specific
> version.  Modify line 25/26 of the Dockerfile from:
>
>
> RUN cpanm --mirror http://cpan.metacpan.org <http://UrlBlockedError.aspx>
> -l $OPT File::ShareDir File::ShareDir::Install Bio::Root::Version
> Const::Fast Graph && \
>      rm -rf ~/.cpanm
>
>
>
> to
>
>
>
> RUN cpanm --mirror http://cpan.metacpan.org <http://UrlBlockedError.aspx>
> -l $OPT File::ShareDir File::ShareDir::Install Bio::Root::Version at 1.006924
> Const::Fast Graph && \
>      rm -rf ~/.cpanm
>
>
>
> Thankfully something I could identify immediately.
>
>
>
> Regards,
>
>
> Keiran Raine
>
> Principal Bioinformatician
>
> Cancer Genome Project
>
> Wellcome Trust Sanger Institute
>
>
>
> kr2 at sanger.ac.uk <http://UrlBlockedError.aspx>
>
> Tel:+44 (0)1223 834244 Ext: 4983
>
> Office: H104
>
>
>
> On 12 Oct 2016, at 17:04, Denis Yuen <Denis.Yuen at oicr.on.ca
> <http://UrlBlockedError.aspx>> wrote:
>
>
>
> Hi,
>
> Keiran, I'm having trouble rebuilding the Sanger docker container in what
> I think is an unrelated section.
> Has anything changed about the build dependencies (for example, if there
> is a floating version that changed over time)?
> I'm attaching the build log from the Dockerfile and the log from inside
> the container.
>
>
> ------------------------------
>
> *From:* docktesters-bounces+denis.yuen=oicr.on.ca at lists.icgc.org
> <http://UrlBlockedError.aspx> [docktesters-bounces+denis.
> yuen=oicr.on.ca at lists.icgc.org <http://UrlBlockedError.aspx>] on behalf
> of Denis Yuen [Denis.Yuen at oicr.on.ca <http://UrlBlockedError.aspx>]
> *Sent:* October 12, 2016 10:59 AM
> *To:* Keiran Raine
> *Cc:* docktesters at lists.icgc.org <http://UrlBlockedError.aspx>
> *Subject:* Re: [DOCKTESTERS] [PAWG-TECH] Draft agenda for PCAWG-TECH
> teleconference
>
> Hi,
>
> While that would have been a good explanation, unfortunately, it doesn't
> seem to be the case.
> In the CWL file ( https://github.com/ICGC-TCGA-PanCancer/CGP-Somatic-
> Docker/blob/develop/Dockstore.cwl <http://UrlBlockedError.aspx> ) , the
> bam files are described like
>
> inputs:
>
>   tumor:
>
>     type: File
>
>     inputBinding:
>
>       position: 1
>
>       prefix: --tumor
>
>     secondaryFiles:
>
>     - .bai
>
>
>
>   refFrom:
>
>     type: File
>
>     inputBinding:
>
>       position: 3
>
>       prefix: --refFrom
>
>   bbFrom:
>
>     type: File
>
>     inputBinding:
>
>       position: 4
>
>       prefix: --bbFrom
>
>   normal:
>
>     type: File
>
>     inputBinding:
>
>       position: 2
>
>       prefix: --normal
>
>     secondaryFiles:
>
>     - .bai
>
> The type of File (as opposed to directory) means that while the bam and
> bai files are individually mounted into the docker container while it runs,
> the bas files never were. If Miguel has the "docker run" output from the
> run (should just be in the stdout of the run), we should be able to verify
> this by looking at what gets mounted into the container at runtime.
>
>
> ------------------------------
>
> *From:* Keiran Raine [kr2 at sanger.ac.uk <http://UrlBlockedError.aspx>]
> *Sent:* October 12, 2016 10:49 AM
> *To:* Denis Yuen
> *Cc:* Miguel Vazquez; docktesters at lists.icgc.org
> <http://UrlBlockedError.aspx>
> *Subject:* Re: [DOCKTESTERS] [PAWG-TECH] Draft agenda for PCAWG-TECH
> teleconference
>
> Hi Denis,
>
>
>
> I expect when you unpack the the test data the BAS files exist in the
> archive in that area so the fact it runs the out of that step to a
> different location isn't detected.
>
>
> Keiran Raine
>
> Principal Bioinformatician
>
> Cancer Genome Project
>
> Wellcome Trust Sanger Institute
>
>
>
> kr2 at sanger.ac.uk <http://UrlBlockedError.aspx>
>
> Tel:+44 (0)1223 834244 Ext: 4983
>
> Office: H104
>
>
>
> On 12 Oct 2016, at 15:36, Denis Yuen <Denis.Yuen at oicr.on.ca
> <http://UrlBlockedError.aspx>> wrote:
>
>
>
> Hi,
> I can make the modification, I'll run it through the test data and that
> should finish in roughly a day.
> In the meantime though, I am puzzled. Why would an issue like this affect
> a donor dataset, but not the test data?
>
>
> ------------------------------
>
> *From:* docktesters-bounces+denis.yuen=oicr.on.ca at lists.icgc.org
> <http://UrlBlockedError.aspx> [docktesters-bounces+
> denis.yuen=oicr.on.ca at lists.icgc.org <http://UrlBlockedError.aspx>] on
> behalf of Keiran Raine [kr2 at sanger.ac.uk <http://UrlBlockedError.aspx>]
> *Sent:* October 12, 2016 6:16 AM
> *To:* Miguel Vazquez
> *Cc:* docktesters at lists.icgc.org <http://UrlBlockedError.aspx>
> *Subject:* Re: [DOCKTESTERS] [PAWG-TECH] Draft agenda for PCAWG-TECH
> teleconference
>
> Hi,
>
>
>
> This is assuming that it is possible to write to the location the BAM are
> in.
>
>
>
> I think Denis would be best placed to make the minor modification as I
> don't know the process they are using for build and deploy of the images (I
> made modifications and then handed over for CWL).
>
>
>
> Regards,
>
>
> Keiran Raine
>
> Principal Bioinformatician
>
> Cancer Genome Project
>
> Wellcome Trust Sanger Institute
>
>
>
> kr2 at sanger.ac.uk <http://UrlBlockedError.aspx>
>
> Tel:+44 (0)1223 834244 Ext: 4983
>
> Office: H104
>
>
>
> On 12 Oct 2016, at 10:37, Miguel Vazquez <miguel.vazquez at cnio.es
> <http://UrlBlockedError.aspx>> wrote:
>
>
>
> [The rest of the list where out of the loop for this part of the
> conversation, I'm putting them back in. In short, the Sanger pipeline
> produces the BAS file but not co-located with the BAM]
>
> Hi Keiran,
>
>
> Would it be possible then to change this and try again? what needs to
> happen? I guess you'll need to change the code and a new docker image be
> produced. Would this be our best alternative?
>
>
>
> Miguel
>
>
>
> On Tue, Oct 11, 2016 at 4:07 PM, Keiran Raine <kr2 at sanger.ac.uk
> <http://UrlBlockedError.aspx>> wrote:
>
> In the original version we didn't do this step, if we have write access it
> can be made to do that
>
>
> Keiran Raine
>
> Principal Bioinformatician
>
> Cancer Genome Project
>
> Wellcome Trust Sanger Institute
>
>
>
> kr2 at sanger.ac.uk <http://UrlBlockedError.aspx>
>
> Tel:+44 (0)1223 834244 Ext: 4983
>
> Office: H104
>
>
>
> On 11 Oct 2016, at 13:49, Miguel Vazquez <miguel.vazquez at cnio.es
> <http://UrlBlockedError.aspx>> wrote:
>
>
>
> Hi Keiran,
>
> If the BAS and BAM files need to be collocated, why is it not created next
> to the BAM file?
>
> Would it not be better if it read
>
> private Job basFileBaseJob(int tumourCount, String sampleBam, String
> process, int index) {
>
> Job thisJob = prepTimedJob(tumourCount, "basFileGenerate", process,
> index);
>
>
>
> File f = new File(sampleBam);
>
>
>
> thisJob.getCommand()
>
>
>
> .addArgument(getWorkflowBaseDir()+ "/bin/wrapper.sh")
>
>
>
> .addArgument(installBase)
>
>
>
> .addArgument("bam_stats")
>
>
>
> .addArgument("-i " + sampleBam)
>
>
>
> .addArgument("-o " + sampleBam + ".bas")
>
>
>
> ;
>
>
>
> return thisJob;
>
> }
>
>
>
> Best
>
> Miguel
>
>
>
> On Tue, Oct 11, 2016 at 2:44 PM, Keiran Raine <kr2 at sanger.ac.uk
> <http://UrlBlockedError.aspx>> wrote:
>
> Relevant section of code:
>
>
>
> https://github.com/ICGC-TCGA-PanCancer/CGP-Somatic-Docker/
> blob/develop/src/main/java/io/seqware/pancancer/
> CgpSomaticCore.java#L769-L780 <http://UrlBlockedError.aspx>
>
>
> Keiran Raine
>
> Principal Bioinformatician
>
> Cancer Genome Project
>
> Wellcome Trust Sanger Institute
>
>
>
> kr2 at sanger.ac.uk <http://UrlBlockedError.aspx>
>
> Tel:+44 (0)1223 834244 Ext: 4983
>
> Office: H104
>
>
>
> On 11 Oct 2016, at 13:40, Keiran Raine <kr2 at sanger.ac.uk
> <http://UrlBlockedError.aspx>> wrote:
>
>
>
> Hi,
>
>
>
> There is a step generating the BAS files:
>
>
>
> [2016/10/10 07:28:37] |  Running command: bash /datastore/oozie-6599f0b9-
> 8af7-44ca-a608-03c5bbc159c6/generated-scripts/s58_
> basFileGenerate_control_11-runner.sh
> [2016/10/10 07:28:37] |  Running command: bash /datastore/oozie-6599f0b9-
> 8af7-44ca-a608-03c5bbc159c6/generated-scripts/s58_
> basFileGenerate_tumours_12-runner.sh
>
>
>
> But if the BAM files and BAS aren't co-located then you have a problem.
> You could symlink the BAM files into the work space and have all tools work
> from that path instead, deleting the symlinks at the end.
>
>
>
> This is one of the changes we had to implement differently as the BAS file
> data was being held in the GNOS xml data structures during the initial
> processing.  Moving to this means that any BAM input is sufficient.
>
>
>
> Hope this is easier to solve now,
>
>
> Keiran Raine
>
> Principal Bioinformatician
>
> Cancer Genome Project
>
> Wellcome Trust Sanger Institute
>
>
>
> kr2 at sanger.ac.uk <http://UrlBlockedError.aspx>
>
> Tel:+44 (0)1223 834244 Ext: 4983
>
> Office: H104
>
>
>
> On 11 Oct 2016, at 13:31, Miguel Vazquez <miguel.vazquez at cnio.es
> <http://UrlBlockedError.aspx>> wrote:
>
>
>
> Keiran,
>
> Its downloading the files still but in fact it does not seem to download
> any BAS file. Could you please educate me a bit on what are these and how I
> can create them?
>
> Best
>
> Miguel
>
>
>
> On Tue, Oct 11, 2016 at 2:22 PM, Miguel Vazquez <miguel.vazquez at cnio.es
> <http://UrlBlockedError.aspx>> wrote:
>
>
>
> 4. It looks like the *_pindel_input_* steps run for only 22-23 seconds
> which could indicate a problem with either the headers or the absence of
> the BAS file from the expected location.
>
>
>
>
>
> I think that you just revealed the problem. There is in fact no BAS files
> only BAM and BAI. There where BAS files for the test data HCC1143 which is
> the one that in fact work. It seems like BAS files are not gathered by
> gnos, could that be? or that my script fails to copy them. I'll try to
> gather a different sample with my client and check.
>
> Not knowing a thing about these files explains why I didn't notice. I'll
> get back to you when I know more.
>
> Best
>
> Miguel
>
>
>
>
>
>
>
>
> -- The Wellcome Trust Sanger Institute is operated by Genome Research
> Limited, a charity registered in England with number 1021457 and a company
> registered in England with number 2742969, whose registered office is 215
> Euston Road, London, NW1 2BE.
>
>
>
>
>
> -- The Wellcome Trust Sanger Institute is operated by Genome Research
> Limited, a charity registered in England with number 1021457 and a company
> registered in England with number 2742969, whose registered office is 215
> Euston Road, London, NW1 2BE.
>
>
>
>
>
>
> -- The Wellcome Trust Sanger Institute is operated by Genome Research
> Limited, a charity registered in England with number 1021457 and a company
> registered in England with number 2742969, whose registered office is 215
> Euston Road, London, NW1 2BE.
>
>
>
>
> -- The Wellcome Trust Sanger Institute is operated by Genome Research
> Limited, a charity registered in England with number 1021457 and a company
> registered in England with number 2742969, whose registered office is 215
> Euston Road, London, NW1 2BE.
>
> <build.log><outer.build.log>
>
>
>
>
> -- The Wellcome Trust Sanger Institute is operated by Genome Research
> Limited, a charity registered in England with number 1021457 and a company
> registered in England with number 2742969, whose registered office is 215
> Euston Road, London, NW1 2BE.
>
> _______________________________________________
> docktesters mailing list
> docktesters at lists.icgc.org
> https://lists.icgc.org/mailman/listinfo/docktesters
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.icgc.org/mailman/private/docktesters/attachments/20161015/8850e028/attachment-0001.html>


More information about the docktesters mailing list