Re: [TASSEL-Group] HDF5 to Hapmap

325 views
Skip to first unread message

Terry Casstevens

unread,
Jun 17, 2015, 1:30:47 PM6/17/15
to Tassel User Group
This should work for you.

/opt/TASSEL5/run_pipeline.pl -Xmx50G -h5 ./GBSgenofile.H5 -export ./GBSgenofile.hmp.txt -exportType Hapmap

/opt/TASSEL5/run_pipeline.pl -Xmx50G -h5 ./GBSgenofile.H5 -GenotypeSummaryPlugin -endPlugin -export summary



On Wed, Jun 17, 2015 at 1:01 PM, Abby L. <ladejo...@gmail.com> wrote:

Hi,

I have been trying to convert HDF5 file to hapmap in Tassel5 unsuccessfully. I am also trying to get genotype summary in the latest build of Tassel5 also not working. I don't know what I'm getting wrong. I am pasting the commands below

/opt/TASSEL5/run_pipeline.pl -Xmx50G -fork1 -h5 ./GBSgenofile.H5 -fork2 -export ./GBSgenofile.hmp.txt -exportType Hapmap -runfork1 -runfork2


Memory Settings: -Xms512m -Xmx50G
Tassel Pipeline Arguments: -fork1 -h5 ./GBSgenofile.H5 -fork2 -export ./GBSgenofile.hmp.txt -exportType Hapmap -runfork1 -runfork2
[main] INFO net.maizegenetics.tassel.TasselLogging - Tassel Version: 5.2.11  Date: June 4, 2015
[main] INFO net.maizegenetics.tassel.TasselLogging - Max Available Memory Reported by JVM: 45511 MB
[main] INFO net.maizegenetics.tassel.TasselLogging - Java Version: 1.8.0_40
[main] INFO net.maizegenetics.tassel.TasselLogging - OS: Linux
[main] INFO net.maizegenetics.pipeline.TasselPipeline - Tassel Pipeline Arguments: [-fork1, -h5, ./GBSgenofile.H5, -fork2, -export, ./GBSgenofile.hmp.txt, -exportType, Hapmap, -runfork1, -runfork2]
[main] INFO net.maizegenetics.pipeline.TasselPipeline - loadFile: ./GBSgenofile.H5
net.maizegenetics.analysis.data.FileLoadPlugin
net.maizegenetics.analysis.data.ExportMultiplePlugin
[pool-1-thread-1] INFO net.maizegenetics.pipeline.TasselPipeline - net.maizegenetics.analysis.data.FileLoadPlugin: progress: 100%
[pool-1-thread-1] INFO net.maizegenetics.plugindef.AbstractPlugin - net.maizegenetics.analysis.data.FileLoadPlugin  Citation: Bradbury PJ, Zhang Z, Kroon DE, Casstevens TM, Ramdoss Y, Buckler ES. (2007) TASSEL: Software for association mapping of complex traits in diverse samples. Bioinformatics 23:2633-2635.



/opt/TASSEL5/run_pipeline.pl -Xmx50G -fork1 -h5 ./GBSgenofile.H5 -fork2 -genotypeSummary overall,site,taxa -runfork1 -runfork2


Memory Settings: -Xms512m -Xmx50G
Tassel Pipeline Arguments: -fork1 -h5 ./GBSgenofile.H5 -fork2 -genotypeSummary overall,site,taxa -runfork1 -runfork2
[main] INFO net.maizegenetics.tassel.TasselLogging - Tassel Version: 5.2.11  Date: June 4, 2015
[main] INFO net.maizegenetics.tassel.TasselLogging - Max Available Memory Reported by JVM: 45511 MB
[main] INFO net.maizegenetics.tassel.TasselLogging - Java Version: 1.8.0_40
[main] INFO net.maizegenetics.tassel.TasselLogging - OS: Linux
[main] INFO net.maizegenetics.pipeline.TasselPipeline - Tassel Pipeline Arguments: [-fork1, -h5, ./GBSgenofile.H5, -fork2, -genotypeSummary, overall,site,taxa, -runfork1, -runfork2]
[main] INFO net.maizegenetics.pipeline.TasselPipeline - loadFile: ./GBSgenofile.H5
net.maizegenetics.analysis.data.FileLoadPlugin
net.maizegenetics.analysis.data.GenotypeSummaryPlugin
[pool-1-thread-2] ERROR net.maizegenetics.plugindef.AbstractPlugin - GenotypeSummaryPlugin: Invalid selection.  Please select one genotype table.
[pool-1-thread-2] INFO net.maizegenetics.plugindef.AbstractPlugin -
Usage:
GenotypeSummaryPlugin <options>
-overview <true | false> : Get Overview Report (Default: true)
-siteSummary <true | false> : Get Site Summary (Default: true)
-taxaSummary <true | false> : Get Taxa Summary (Default: true)

Thanks for your help.



Daniel

unread,
Jul 22, 2015, 10:07:38 PM7/22/15
to TASSEL - Trait Analysis by Association, Evolution and Linkage, tm...@cornell.edu
Hi Terry,

I have the same problem to export H5 file to hmp file. It seems your command lines run successfully but no output produced. Is the following command still working? Thanks.

Best Regards,
Daniel

在 2015年6月17日星期三 UTC-4下午1:30:47,Terry写道:

Terry Casstevens

unread,
Jul 23, 2015, 8:44:50 AM7/23/15
to Tassel User Group
Yes, it still works.

https://bitbucket.org/tasseladmin/tassel-5-source/wiki/docs/ReportingTassel5Issues.pdf
> --
> You received this message because you are subscribed to the Google Groups
> "TASSEL - Trait Analysis by Association, Evolution and Linkage" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tassel+un...@googlegroups.com.
> To post to this group, send email to tas...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tassel/cac91d94-eb7f-4041-ac1f-b171e61dd3ff%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

donz

unread,
Oct 22, 2015, 2:49:07 PM10/22/15
to TASSEL - Trait Analysis by Association, Evolution and Linkage
Dear Terry,

Does TASSEL5 provide function converting hapmap to H5? I tried both -hmp and -hapmap to specify input. But neither one works.

Thanks.

--Donz

Terry Casstevens

unread,
Oct 22, 2015, 3:51:36 PM10/22/15
to Tassel User Group
./run_pipeline.pl -h filename.hmp.txt -export filename.h5 -exportType HDF5
> --
> You received this message because you are subscribed to the Google Groups
> "TASSEL - Trait Analysis by Association, Evolution and Linkage" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tassel+un...@googlegroups.com.
> To post to this group, send email to tas...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tassel/b67762da-1b9e-48dd-bf4c-f0627365791e%40googlegroups.com.

Dong Zhang

unread,
Oct 22, 2015, 4:16:12 PM10/22/15
to tas...@googlegroups.com
Hi Terry,

The command was terminated without errors. But there is no HDF5 result generated.

I tried to run the command in Tassel3 and to convert hapmap generated by UNEAK. Does this function work for hapmap created by UNEAK?

Thanks.

--Donz

Guriqbal Singh Dhillon

unread,
Dec 26, 2016, 11:50:33 AM12/26/16
to TASSEL - Trait Analysis by Association, Evolution and Linkage
None is working for me. It says

FileLoadPlugin Parameters
format: HDF5
sortPositions: false

[pool-1-thread-1] INFO net.maizegenetics.analysis.data.FileLoadPlugin - Start Loading File: New.HDF5 time: Dec 26, 2016 8:52:5
[pool-1-thread-1] INFO net.maizegenetics.analysis.data.FileLoadPlugin - Nothing Loaded for File: New.HDF5 time: Dec 26, 2016 8:52:6
[pool-1-thread-1] INFO net.maizegenetics.plugindef.AbstractPlugin - Finished net.maizegenetics.analysis.data.FileLoadPlugin: time: Dec 26, 2016 8:52:6
[pool-1-thread-1] INFO net.maizegenetics.plugindef.AbstractPlugin - net.maizegenetics.analysis.data.ExportMultiplePlugin  Citation: Bradbury PJ, Zhang Z, Kroon DE, Casstevens TM, Ramdoss Y, Buckler ES. (2007) TASSEL: Software for association mapping of complex traits in diverse samples. Bioinformatics 23:2633-2635.
[pool-1-thread-1] INFO net.maizegenetics.pipeline.TasselPipeline - net.maizegenetics.analysis.data.FileLoadPlugin: time: Dec 26, 2016 8:52:6: progress: 100%

But no output file is formed

Mao Huang

unread,
Mar 13, 2017, 11:04:40 AM3/13/17
to TASSEL - Trait Analysis by Association, Evolution and Linkage
Hi Terry,

I have a h5 file, and I have TASSEL 5 on mac. I go to "file" "save as" choosing "hap map" format with the taxa annotations included.
But the output file is not really accurate, it shows the "chrome" column is the taking part of the marker names from "rs" column, rather than giving me the accurate chromosome names.
I can email you the example h5 file if you need it.

Could you help with this issue?

Thanks,

Mao



On Wednesday, June 17, 2015 at 1:30:47 PM UTC-4, Terry wrote:

Terry Casstevens

unread,
Mar 13, 2017, 11:06:05 AM3/13/17
to Tassel User Group
Yes please send me the file.
> --
> You received this message because you are subscribed to the Google Groups
> "TASSEL - Trait Analysis by Association, Evolution and Linkage" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tassel+un...@googlegroups.com.
> To post to this group, send email to tas...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tassel/c1068e6d-d7af-44fe-9e84-6ae9279c51db%40googlegroups.com.

Mao Huang

unread,
Mar 13, 2017, 11:24:18 AM3/13/17
to TASSEL - Trait Analysis by Association, Evolution and Linkage
Hi Terry, thanks.
I just sent it to your gmail tcass...@gmail.com, as it may be too big to be attached here.

Mao

Terry Casstevens

unread,
Mar 13, 2017, 4:40:25 PM3/13/17
to Tassel User Group
This data was store as scaffolds instead of chromosomes. The
chromosome names may be what was intended. The SNP names don't seem
great because they are duplicated. But that doesn't cause a problem
because the chromosome / positions are different.

Can you ask the person who created the .h5?

Best,


Terry
> https://groups.google.com/d/msgid/tassel/5c6f3413-3268-4145-8478-ad36fc5835e6%40googlegroups.com.

Mao Huang

unread,
Mar 14, 2017, 9:52:53 AM3/14/17
to TASSEL - Trait Analysis by Association, Evolution and Linkage
Hi Terry,
Yes, I’ll ask and confirm. Thank you for your help.

Mao
Reply all
Reply to author
Forward
0 new messages