All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rcsb.mmtf.spark.examples.DownloadPdb Maven / Gradle / Ivy

Go to download

MMTF Spark is a series of libraries and functions for using MMTF with Spark.

There is a newer version: 0.0.8
Show newest version
package org.rcsb.mmtf.spark.examples;

import java.io.FileNotFoundException;
import java.io.IOException;

import org.rcsb.mmtf.spark.data.StructureDataRDD;

/** 
 * Simple example of how to download the PDB.
 * @author Anthony Bradley
 *
 */
public class DownloadPdb {

	/**
	 * Simple example of how to download the PDB.
	 * @param args the arguments for the function
	 * @throws IOException due to an error reading from the URL
	 * @throws FileNotFoundException an error transferring files
	 */
	public static void main(String[] args) throws FileNotFoundException, IOException {
		new StructureDataRDD(true);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy