Netiquette · Download · News · Gallery · Homepage · DSSR Manual · G-quadruplexes · DSSR-Jmol · DSSR-PyMOL · DSSR Licensing · Video Overview· RNA Covers

Author Topic: x3dna rebuild and standard input  (Read 8006 times)

Offline satary

  • with-posts
  • *
  • Posts: 3
    • View Profile
x3dna rebuild and standard input
« on: April 03, 2015, 07:05:20 am »
Hello!
Thanks a lot for a great software !
I've found that rebuild utility accepts 'stdin' option for input e.g.
cat custom_step.par | rebuild -atomic stdin gorgeous_structure.pdb
But it always fails with :
"error reading parameter file: step or helical option"
but rebuild -atomic custom_step.par gorgeous_structure.pdb works just fine
Am I doing something wrong or is that a bug?

Thank you!
« Last Edit: April 03, 2015, 10:23:51 am by satary »

Offline xiangjun

  • Administrator
  • with-posts
  • *****
  • Posts: 1640
    • View Profile
    • 3DNA homepage
Re: x3dna rebuild and standard input
« Reply #1 on: April 03, 2015, 11:52:39 am »
Hi,

Quote
Thanks a lot for a great software !
Thanks for using 3DNA and for your nice words about the software.

Quote
I've found that rebuild utility accepts 'stdin' option for input e.g.
cat custom_step.par | rebuild -atomic stdin gorgeous_structure.pdb
But it always fails with :
"error reading parameter file: step or helical option"
but rebuild -atomic custom_step.par gorgeous_structure.pdb works just fine
Am I doing something wrong or is that a bug?
I can reproduce the problem you reported here. You may take it as a bug or inconsistency in 3DNA's handling of 'stdin' input. Internally, the parameter input file is read twice: the first time for the number of base pairs to allocate the data structure, and the second time to fill in the contents. That's why 'stdin' does not work. I will try to fix this issue in the coming release of 3DNA v2.2. In the meantime, just remember to always use an explicit parameter file.

Xiang-Jun

Offline satary

  • with-posts
  • *
  • Posts: 3
    • View Profile
Re: x3dna rebuild and standard input
« Reply #2 on: April 04, 2015, 07:14:37 am »
Thank you for quick respond, I'll be aware!
Looking forward for an update!

Offline xiangjun

  • Administrator
  • with-posts
  • *****
  • Posts: 1640
    • View Profile
    • 3DNA homepage
Re: x3dna rebuild and standard input
« Reply #3 on: April 10, 2015, 05:31:20 pm »
Hi,

I've updated 3DNA to v2.2 which fixes this problem. Please download it and have a try. Report back any issue you may still have.

Xiang-Jun

Offline satary

  • with-posts
  • *
  • Posts: 3
    • View Profile
Re: x3dna rebuild and standard input
« Reply #4 on: November 09, 2015, 06:22:30 am »
Thank you! That works great!

 

Created and maintained by Dr. Xiang-Jun Lu [律祥俊] (xiangjun@x3dna.org)
The Bussemaker Laboratory at the Department of Biological Sciences, Columbia University.